Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.05508/0.05508, allocations: 9.509 MB / 29.37 MB, free: 5.859 MB / 24.77 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.0008036/0.0008036, allocations: 99.34 kB / 35.55 MB, free: 424 kB / 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.8884/0.8884, allocations: 158.6 MB / 197.4 MB, free: 6.91 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.001167/0.001167, allocations: 168.1 kB / 249.9 MB, free: 5.426 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.2218/0.2218, allocations: 59.7 MB / 312.9 MB, free: 6.312 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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 351 MB, free: 160 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.142e-05, allocations: 10.19 kB / 351 MB, free: 148 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.1643/0.1643, allocations: 6.054 MB / 357 MB, free: 20.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.1681, allocations: 1.886 MB / 358.9 MB, free: 19.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.1688, allocations: 14.78 kB / 358.9 MB, free: 19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.1694, allocations: 220.8 kB / 359.2 MB, free: 18.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.1711, allocations: 0.7968 MB / 360 MB, free: 18.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1722, allocations: 0.6035 MB / 360.6 MB, free: 18.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.1736, allocations: 1.463 MB / 362 MB, free: 17.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.1739, allocations: 232.2 kB / 362.3 MB, free: 17.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.1751, allocations: 0.8295 MB / 363.1 MB, free: 16.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007848/0.1759, allocations: 0.581 MB / 363.7 MB, free: 16.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.1761, allocations: 103.4 kB / 363.8 MB, free: 16.14 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.1766, allocations: 238.4 kB / 364 MB, free: 16.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.1767, allocations: 285.3 kB / 364.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.177, allocations: 418.4 kB / 364.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.1782, allocations: 1.149 MB / 365.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1782, allocations: 0.75 kB / 365.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1782, allocations: 0 / 365.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.263e-05/0.1782, allocations: 1.5 kB / 365.8 MB, free: 14.77 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004003/0.1822, allocations: 2.533 MB / 368.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1822, allocations: 8.75 kB / 368.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/0.1846, allocations: 0.9745 MB / 369.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006853/0.1853, allocations: 0.5257 MB / 369.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.1854, allocations: 311.5 kB / 370.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.1855, allocations: 81.7 kB / 370.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006067/0.1861, allocations: 0.6174 MB / 370.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1861, allocations: 0 / 370.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.1862, allocations: 32.81 kB / 370.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.1862, allocations: 19.94 kB / 370.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.1866, allocations: 309.1 kB / 371.2 MB, free: 9.969 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.002369/0.189, allocations: 1.588 MB / 372.8 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.1894, allocations: 406.9 kB / 373.2 MB, free: 7.977 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.1897, allocations: 228.3 kB / 373.4 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.713e-05/0.1897, allocations: 18.72 kB / 373.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1898, allocations: 51.5 kB / 373.5 MB, free: 7.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 2.735e-06/0.1898, allocations: 0 / 373.5 MB, free: 7.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=97): time 0.007703/0.1975, allocations: 4.069 MB / 377.6 MB, free: 3.637 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.1975, allocations: 72.33 kB / 377.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/0.198, allocations: 0.7682 MB / 378.4 MB, free: 2.766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.198, allocations: 41.7 kB / 378.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1982, allocations: 355.3 kB / 378.8 MB, free: 2.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.1984, allocations: 364.8 kB / 379.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.1986, allocations: 198.8 kB / 379.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.1986, allocations: 353.8 kB / 379.7 MB, free: 1.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.1989, allocations: 246.6 kB / 379.9 MB, free: 1.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.1993, allocations: 386 kB / 380.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.2005, allocations: 1.046 MB / 381.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.2005, allocations: 4.875 kB / 381.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.005234/0.2057, allocations: 2.526 MB / 383.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.2058, allocations: 11.94 kB / 383.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2058, allocations: 1.078 kB / 383.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007363/0.2131, allocations: 1.811 MB / 385.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000906/0.214, allocations: 187.7 kB / 385.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008699/0.2227, allocations: 3.839 MB / 389.7 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.2239, allocations: 139.9 kB / 389.9 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-05/0.224, allocations: 29.36 kB / 389.9 MB, free: 7.105 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (107): * Single equations (assignments): 106 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003318/0.2243, allocations: 173.4 kB / 390.1 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.2244, allocations: 100.6 kB / 390.2 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/0.2284, allocations: 2.337 MB / 392.5 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.2284, allocations: 12 kB / 392.5 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.2284, allocations: 0 / 392.5 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.2284, allocations: 5.25 kB / 392.5 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004543/0.2329, allocations: 2.851 MB / 395.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.2329, allocations: 0 / 395.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.2332, allocations: 112.8 kB / 395.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004209/0.2374, allocations: 1.79 MB / 397.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.2375, allocations: 19.94 kB / 397.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00469/0.2422, allocations: 3.409 MB / 400.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2422, allocations: 1.125 kB / 400.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/0.2464, allocations: 2.562 MB / 403.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.2465, allocations: 118.9 kB / 403.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.799e-05/0.2466, allocations: 16 kB / 403.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.2469, allocations: 83.92 kB / 403.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/0.2473, allocations: 228.5 kB / 403.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.2473, allocations: 12 kB / 403.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002666/0.2476, allocations: 393.1 kB / 404.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2476, allocations: 0 / 404.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007157/0.2483, allocations: 443.6 kB / 404.5 MB, free: 8.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.0001953/0.2485, allocations: 108.3 kB / 404.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.2505, allocations: 1.428 MB / 406.1 MB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/0.2505, allocations: 8 kB / 406.1 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.2519, allocations: 1.004 MB / 407.1 MB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.2523, allocations: 104.4 kB / 407.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.2546, allocations: 1.869 MB / 409.1 MB, free: 3.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.2547, allocations: 231.9 kB / 409.3 MB, free: 3.492 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.2549, allocations: 89.75 kB / 409.4 MB, free: 3.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.2551, allocations: 159.3 kB / 409.5 MB, free: 3.246 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.2551, allocations: 0 / 409.5 MB, free: 3.246 MB / 362.7 MB Notification: Performance of Templates: time 0.02583/0.281, allocations: 25.05 MB / 434.6 MB, free: 10.32 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.794071330688894]