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-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) 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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1107/0.1107, allocations: 12.6 MB / 28.1 MB, free: 236 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 103.6 kB / 31.7 MB, free: 3.496 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 240.3 MB, free: 12.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 192.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4238/0.4238, allocations: 78.5 MB / 419.2 MB, free: 11.36 MB / 302.1 MB 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.004943/0.004944, allocations: 135.8 kB / 499.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3405, allocations: 68.12 MB / 0.5546 GB, free: 32.54 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006705/0.3472, allocations: 6.412 MB / 0.5608 GB, free: 27.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003709/0.351, allocations: 1.822 MB / 0.5626 GB, free: 26.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006941/0.3517, allocations: 11.22 kB / 0.5626 GB, free: 26.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.3522, allocations: 230.5 kB / 0.5628 GB, free: 26.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.3539, allocations: 0.7128 MB / 0.5635 GB, free: 25.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.3551, allocations: 0.5966 MB / 0.5641 GB, free: 25.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.3565, allocations: 1.398 MB / 0.5655 GB, free: 24.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004429/0.357, allocations: 333.1 kB / 0.5658 GB, free: 24.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006657/0.3576, allocations: 0.5832 MB / 0.5664 GB, free: 23.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006276/0.3583, allocations: 0.7224 MB / 0.5671 GB, free: 23.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.3585, allocations: 101.4 kB / 0.5672 GB, free: 23.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.3589, allocations: 236.6 kB / 0.5674 GB, free: 23.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.3591, allocations: 275.1 kB / 0.5677 GB, free: 23.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003921/0.3595, allocations: 0.6179 MB / 0.5683 GB, free: 22.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.3608, allocations: 1.484 MB / 0.5697 GB, free: 21.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3608, allocations: 0 / 0.5697 GB, free: 21.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3608, allocations: 1.188 kB / 0.5697 GB, free: 21.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.3608, allocations: 0 / 0.5697 GB, free: 21.52 MB / 398.1 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.007783/0.3686, allocations: 2.544 MB / 0.5722 GB, free: 19.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.3687, allocations: 13.67 kB / 0.5722 GB, free: 19.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.3736, allocations: 0.7765 MB / 0.573 GB, free: 19.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.3749, allocations: 0.7583 MB / 0.5737 GB, free: 18.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/0.3752, allocations: 259.6 kB / 0.574 GB, free: 18.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.3754, allocations: 78.72 kB / 0.574 GB, free: 18.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.3774, allocations: 1.066 MB / 0.5751 GB, free: 18.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3774, allocations: 3.938 kB / 0.5751 GB, free: 18.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-05/0.3775, allocations: 35.33 kB / 0.5751 GB, free: 18.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.3775, allocations: 18.16 kB / 0.5751 GB, free: 18.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.3797, allocations: 1.118 MB / 0.5762 GB, free: 17.17 MB / 398.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.004609/0.3843, allocations: 3.451 MB / 0.5796 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.386, allocations: 1.403 MB / 0.581 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.3874, allocations: 0.7851 MB / 0.5817 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.872e-05/0.3875, allocations: 16.94 kB / 0.5818 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.3875, allocations: 39.56 kB / 0.5818 GB, free: 11.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 2.535e-06/0.3875, allocations: 0 / 0.5818 GB, free: 11.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.02354/0.411, allocations: 6.754 MB / 0.5884 GB, free: 4.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.4111, allocations: 64.41 kB / 0.5884 GB, free: 4.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009404/0.4121, allocations: 0.8876 MB / 0.5893 GB, free: 3.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.4122, allocations: 41.7 kB / 0.5894 GB, free: 3.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.4124, allocations: 496.7 kB / 0.5898 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.4127, allocations: 339 kB / 0.5901 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.413, allocations: 198.8 kB / 0.5903 GB, free: 2.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.4131, allocations: 341.9 kB / 0.5907 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.4145, allocations: 0.717 MB / 0.5914 GB, free: 1.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.416, allocations: 0.8384 MB / 0.5922 GB, free: 428 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/0.4343, allocations: 4.802 MB / 0.5969 GB, free: 11.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.4343, allocations: 0 / 0.5969 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01356/0.4479, allocations: 4.253 MB / 0.601 GB, free: 7.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.4479, allocations: 8 kB / 0.601 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4479, allocations: 0 / 0.601 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005987/0.4539, allocations: 1.863 MB / 0.6029 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.455, allocations: 211.7 kB / 0.6031 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0206/0.4756, allocations: 9.097 MB / 0.6119 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.4771, allocations: 175 kB / 0.6121 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/0.4772, allocations: 39.98 kB / 0.6121 GB, free: 11.78 MB / 430.1 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 (108): * Single equations (assignments): 107 * 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.0004379/0.4777, allocations: 252.7 kB / 0.6124 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.4779, allocations: 118.5 kB / 0.6125 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.4909, allocations: 4.006 MB / 0.6164 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.4909, allocations: 8 kB / 0.6164 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4909, allocations: 3.938 kB / 0.6164 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.4909, allocations: 3.984 kB / 0.6164 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.5059, allocations: 5.625 MB / 0.6219 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.5059, allocations: 3.938 kB / 0.6219 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.5067, allocations: 131.8 kB / 0.622 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005938/0.5127, allocations: 1.745 MB / 0.6238 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/0.5129, allocations: 16 kB / 0.6238 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/0.5315, allocations: 8.072 MB / 0.6316 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5315, allocations: 4 kB / 0.6317 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/0.5469, allocations: 4.966 MB / 0.6365 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.5474, allocations: 203.4 kB / 0.6367 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.5476, allocations: 23.98 kB / 0.6367 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5487, allocations: 107.9 kB / 0.6368 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006895/0.5494, allocations: 220.5 kB / 0.637 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/0.5495, allocations: 23.94 kB / 0.6371 GB, free: 1.902 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007719/0.5502, allocations: 0.5927 MB / 0.6376 GB, free: 1.301 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5502, allocations: 0 / 0.6376 GB, free: 1.301 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001279/0.5515, allocations: 431.5 kB / 0.638 GB, free: 0.8789 MB / 446.1 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.0002885/0.5518, allocations: 143.1 kB / 0.6382 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007318/0.5592, allocations: 2.493 MB / 0.6406 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5592, allocations: 0 / 0.6406 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00491/0.5641, allocations: 1.597 MB / 0.6422 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.5652, allocations: 87.23 kB / 0.6423 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.569, allocations: 1.95 MB / 0.6442 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.5696, allocations: 1.084 MB / 0.6452 GB, free: 9.453 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003877/0.57, allocations: 90.69 kB / 0.6453 GB, free: 9.359 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.5702, allocations: 67.42 kB / 0.6454 GB, free: 9.293 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5702, allocations: 0 / 0.6454 GB, free: 9.293 MB / 462.1 MB Notification: Performance of Templates: time 0.03598/0.6062, allocations: 23.36 MB / 0.6682 GB, free: 1.941 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (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=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)