Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06363/0.06363, allocations: 9.511 MB / 29.37 MB, free: 156 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008782/0.0008782, allocations: 99.33 kB / 35.55 MB, free: 0.5664 MB / 24.77 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 0.8613/0.8613, allocations: 158.6 MB / 197.4 MB, free: 6.902 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 168 kB / 249.9 MB, free: 5.434 MB / 234.7 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.2489/0.2489, allocations: 59.69 MB / 312.9 MB, free: 6.32 MB / 298.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 351 MB, free: 160 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.492e-05, allocations: 6.25 kB / 351 MB, free: 152 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.1587/0.1587, allocations: 6.008 MB / 357 MB, free: 20.33 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004377/0.1631, allocations: 1.864 MB / 358.9 MB, free: 19.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.1642, allocations: 15.03 kB / 358.9 MB, free: 19.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005914/0.1648, allocations: 224.5 kB / 359.1 MB, free: 18.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.1667, allocations: 0.7863 MB / 359.9 MB, free: 18.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1679, allocations: 0.5946 MB / 360.5 MB, free: 18.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.1696, allocations: 1.455 MB / 361.9 MB, free: 17.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004217/0.1701, allocations: 221.3 kB / 362.2 MB, free: 17.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.1713, allocations: 0.8309 MB / 363 MB, free: 16.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000924/0.1722, allocations: 0.5762 MB / 363.6 MB, free: 16.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.1724, allocations: 99.56 kB / 363.7 MB, free: 16.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005248/0.173, allocations: 225.8 kB / 363.9 MB, free: 16.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.1731, allocations: 283.4 kB / 364.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.1735, allocations: 417.1 kB / 364.6 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.1754, allocations: 1.143 MB / 365.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1754, allocations: 2.594 kB / 365.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1754, allocations: 0 / 365.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.979e-05/0.1754, allocations: 0 / 365.7 MB, free: 14.88 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004536/0.18, allocations: 2.505 MB / 368.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.18, allocations: 14.03 kB / 368.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/0.1826, allocations: 0.968 MB / 369.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007874/0.1834, allocations: 0.5302 MB / 369.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.1835, allocations: 305.2 kB / 370 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/0.1836, allocations: 76 kB / 370.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.1843, allocations: 0.6144 MB / 370.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1843, allocations: 0 / 370.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.1843, allocations: 33.12 kB / 370.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.1843, allocations: 23.94 kB / 370.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.1848, allocations: 301.8 kB / 371.1 MB, free: 10.13 MB / 330.7 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.002343/0.1871, allocations: 1.58 MB / 372.6 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.1875, allocations: 390.4 kB / 373 MB, free: 8.164 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.1878, allocations: 229.2 kB / 373.2 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.385e-05/0.1878, allocations: 17 kB / 373.3 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1879, allocations: 45.27 kB / 373.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 2.485e-06/0.1879, allocations: 4 kB / 373.3 MB, free: 7.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.008163/0.196, allocations: 4.201 MB / 377.5 MB, free: 3.695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.196, allocations: 60.41 kB / 377.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.1965, allocations: 0.7596 MB / 378.3 MB, free: 2.844 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/0.1966, allocations: 45.7 kB / 378.4 MB, free: 2.793 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1967, allocations: 351.2 kB / 378.7 MB, free: 2.441 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.1969, allocations: 352.9 kB / 379.1 MB, free: 2.094 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.1971, allocations: 198.8 kB / 379.3 MB, free: 1.895 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.1971, allocations: 349.8 kB / 379.6 MB, free: 1.547 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.1974, allocations: 242.6 kB / 379.8 MB, free: 1.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.1979, allocations: 382 kB / 380.2 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.1994, allocations: 1.046 MB / 381.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.1994, allocations: 4 kB / 381.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005864/0.2053, allocations: 2.494 MB / 383.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.2053, allocations: 12 kB / 383.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2053, allocations: 0 / 383.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005742/0.2111, allocations: 1.808 MB / 385.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.2118, allocations: 187.7 kB / 385.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006947/0.2187, allocations: 3.674 MB / 389.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009466/0.2197, allocations: 147.9 kB / 389.6 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/0.2197, allocations: 31.98 kB / 389.6 MB, free: 7.395 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (104): * Single equations (assignments): 103 * 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 prepare postOptimizeDAE: time 0.0003276/0.2201, allocations: 166 kB / 389.8 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.2202, allocations: 96.47 kB / 389.9 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005254/0.2255, allocations: 2.337 MB / 392.2 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.2255, allocations: 12.5 kB / 392.2 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.2255, allocations: 0 / 392.2 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2255, allocations: 4.781 kB / 392.2 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006263/0.2318, allocations: 2.843 MB / 395.1 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.2318, allocations: 9.25 kB / 395.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.2322, allocations: 119.8 kB / 395.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005482/0.2377, allocations: 1.76 MB / 396.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.471e-05/0.2377, allocations: 16 kB / 397 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006092/0.2438, allocations: 3.411 MB / 400.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2438, allocations: 7.938 kB / 400.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005827/0.2497, allocations: 2.547 MB / 402.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.25, allocations: 115 kB / 403 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.2501, allocations: 19.94 kB / 403.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.2507, allocations: 90.77 kB / 403.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005129/0.2512, allocations: 212.6 kB / 403.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.2513, allocations: 20 kB / 403.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002752/0.2515, allocations: 380.6 kB / 403.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2515, allocations: 0 / 403.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009743/0.2525, allocations: 435.6 kB / 404.2 MB, free: 8.645 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.000211/0.2527, allocations: 116.2 kB / 404.3 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.2549, allocations: 1.385 MB / 405.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.255, allocations: 8 kB / 405.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.2564, allocations: 1.016 MB / 406.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.2568, allocations: 100.3 kB / 406.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.2598, allocations: 1.839 MB / 408.6 MB, free: 4.137 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.26, allocations: 224.8 kB / 408.8 MB, free: 3.898 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002022/0.2602, allocations: 86.69 kB / 408.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.2604, allocations: 155.4 kB / 409.1 MB, free: 3.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.2604, allocations: 0 / 409.1 MB, free: 3.66 MB / 362.7 MB Notification: Performance of Templates: time 0.03304/0.2934, allocations: 24.77 MB / 433.9 MB, free: 11.02 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6985538890585303]