Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0849/0.0849, allocations: 12.78 MB / 29.79 MB, free: 6.457 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 111.5 kB / 35.57 MB, free: 1.207 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 207.6 MB / 248.9 MB, free: 10.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 199.3 kB / 303.8 MB, free: 5.582 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4348/0.4348, allocations: 79.72 MB / 438.3 MB, free: 3.98 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003827/0.003827, allocations: 147.8 kB / 0.5839 GB, free: 7.055 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1459, allocations: 72.01 MB / 0.6543 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.008126/0.154, allocations: 6.563 MB / 0.6607 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004315/0.1583, allocations: 1.85 MB / 0.6625 GB, free: 6.492 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1593, allocations: 8 kB / 0.6625 GB, free: 6.484 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006981/0.16, allocations: 226 kB / 0.6627 GB, free: 6.262 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.1623, allocations: 0.7649 MB / 0.6634 GB, free: 5.492 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.1638, allocations: 0.6129 MB / 0.664 GB, free: 4.887 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.1658, allocations: 1.425 MB / 0.6654 GB, free: 3.457 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004532/0.1663, allocations: 228.3 kB / 0.6656 GB, free: 3.223 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009939/0.1673, allocations: 0.599 MB / 0.6662 GB, free: 2.621 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009465/0.1682, allocations: 0.731 MB / 0.6669 GB, free: 1.887 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.1684, allocations: 108 kB / 0.6671 GB, free: 1.781 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005777/0.169, allocations: 235.9 kB / 0.6673 GB, free: 1.551 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.1693, allocations: 282.8 kB / 0.6675 GB, free: 1.273 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006394/0.1699, allocations: 0.6251 MB / 0.6682 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.1719, allocations: 1.525 MB / 0.6696 GB, free: 15.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1719, allocations: 0 / 0.6696 GB, free: 15.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1719, allocations: 0 / 0.6696 GB, free: 15.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.1719, allocations: 0 / 0.6696 GB, free: 15.11 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008587/0.1805, allocations: 2.609 MB / 0.6722 GB, free: 12.45 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1806, allocations: 11.98 kB / 0.6722 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/0.1857, allocations: 0.7835 MB / 0.673 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.1872, allocations: 0.7811 MB / 0.6737 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/0.1876, allocations: 264.1 kB / 0.674 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.1878, allocations: 80 kB / 0.6741 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.1904, allocations: 1.081 MB / 0.6751 GB, free: 9.355 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.1904, allocations: 7.938 kB / 0.6751 GB, free: 9.348 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.1905, allocations: 32 kB / 0.6752 GB, free: 9.316 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.1905, allocations: 20 kB / 0.6752 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/0.1933, allocations: 1.128 MB / 0.6763 GB, free: 8.164 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006515/0.1998, allocations: 3.448 MB / 0.6796 GB, free: 4.566 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.2022, allocations: 1.345 MB / 0.681 GB, free: 3.102 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.2039, allocations: 0.7109 MB / 0.6817 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.204, allocations: 20.98 kB / 0.6817 GB, free: 2.371 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.204, allocations: 43.5 kB / 0.6817 GB, free: 2.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.886e-06/0.204, allocations: 0 / 0.6817 GB, free: 2.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.0269/0.2309, allocations: 6.583 MB / 0.6881 GB, free: 11.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.231, allocations: 60.41 kB / 0.6882 GB, free: 11.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.2324, allocations: 0.8884 MB / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002624/0.2326, allocations: 45.7 kB / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.2331, allocations: 0.4935 MB / 0.6896 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004922/0.2336, allocations: 368.8 kB / 0.6899 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004342/0.234, allocations: 202.9 kB / 0.6901 GB, free: 9.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.2342, allocations: 357.9 kB / 0.6905 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.236, allocations: 0.7248 MB / 0.6912 GB, free: 8.527 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.2379, allocations: 0.8619 MB / 0.692 GB, free: 7.633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01968/0.2576, allocations: 4.854 MB / 0.6968 GB, free: 2.746 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.2576, allocations: 0 / 0.6968 GB, free: 2.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.2929/0.5506, allocations: 4.245 MB / 0.7009 GB, free: 40.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.5506, allocations: 5.531 kB / 0.7009 GB, free: 40.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.5506, allocations: 3.062 kB / 0.7009 GB, free: 40.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006867/0.5575, allocations: 1.724 MB / 0.7026 GB, free: 40.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.5588, allocations: 232.1 kB / 0.7028 GB, free: 40.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/0.5819, allocations: 9.051 MB / 0.7117 GB, free: 37.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.5836, allocations: 185.9 kB / 0.7118 GB, free: 37.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.5838, allocations: 39.97 kB / 0.7119 GB, free: 37.68 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005103/0.5843, allocations: 251.5 kB / 0.7121 GB, free: 37.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.5845, allocations: 124 kB / 0.7122 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/0.5982, allocations: 3.98 MB / 0.7161 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.5982, allocations: 9.156 kB / 0.7161 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5982, allocations: 5.375 kB / 0.7161 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/0.5983, allocations: 2.109 kB / 0.7161 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/0.6133, allocations: 5.573 MB / 0.7216 GB, free: 34.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.6133, allocations: 1.219 kB / 0.7216 GB, free: 34.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/0.6141, allocations: 130.4 kB / 0.7217 GB, free: 34.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005934/0.62, allocations: 1.737 MB / 0.7234 GB, free: 33.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000225/0.6202, allocations: 17.44 kB / 0.7234 GB, free: 33.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01719/0.6374, allocations: 8.071 MB / 0.7313 GB, free: 28.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6374, allocations: 0 / 0.7313 GB, free: 28.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.6515, allocations: 4.925 MB / 0.7361 GB, free: 26.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.6519, allocations: 210.6 kB / 0.7363 GB, free: 25.83 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.6521, allocations: 20 kB / 0.7363 GB, free: 25.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009968/0.6531, allocations: 111.9 kB / 0.7364 GB, free: 25.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006472/0.6537, allocations: 220.6 kB / 0.7366 GB, free: 25.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/0.6538, allocations: 27.98 kB / 0.7367 GB, free: 25.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005993/0.6544, allocations: 0.593 MB / 0.7373 GB, free: 24.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.6544, allocations: 0 / 0.7373 GB, free: 24.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001294/0.6557, allocations: 440.5 kB / 0.7377 GB, free: 24.44 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002588/0.6559, allocations: 129.2 kB / 0.7378 GB, free: 24.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006248/0.6622, allocations: 2.37 MB / 0.7401 GB, free: 21.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6622, allocations: 1.969 kB / 0.7401 GB, free: 21.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004473/0.6667, allocations: 1.528 MB / 0.7416 GB, free: 20.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008641/0.6675, allocations: 89.05 kB / 0.7417 GB, free: 20.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.671, allocations: 2.135 MB / 0.7438 GB, free: 18.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.6714, allocations: 1.095 MB / 0.7448 GB, free: 17.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.6717, allocations: 75.41 kB / 0.7449 GB, free: 16.98 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6717, allocations: 4 kB / 0.7449 GB, free: 16.97 MB / 494.1 MB Notification: Performance of Templates: time 0.0221/0.6938, allocations: 20.3 MB / 0.7647 GB, free: 12.67 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.05097376392223] Failed to read output from testmodel.py, exit status != 0: 0.7022609810810536 0.716331448 0.541451011 Calling exit ...