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.07172/0.07172, allocations: 12.59 MB / 28.76 MB, free: 368 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.0008911/0.0008911, allocations: 107.5 kB / 32.37 MB, free: 3.457 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.125/1.125, allocations: 205.1 MB / 241 MB, free: 12.43 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.001115/0.001116, allocations: 200.4 kB / 291.2 MB, free: 11.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3601/0.3601, allocations: 78.5 MB / 419.8 MB, free: 10.82 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.002371/0.002371, allocations: 141.1 kB / 0.4887 GB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2049, allocations: 68.12 MB / 0.5552 GB, free: 21.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004332/0.2092, allocations: 6.413 MB / 0.5615 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.2112, allocations: 1.826 MB / 0.5633 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.2115, allocations: 8 kB / 0.5633 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.2118, allocations: 222 kB / 0.5635 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.2129, allocations: 0.7159 MB / 0.5642 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007832/0.2136, allocations: 0.6002 MB / 0.5648 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006785/0.2143, allocations: 1.402 MB / 0.5662 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.2146, allocations: 322.8 kB / 0.5665 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.215, allocations: 0.5834 MB / 0.567 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.2154, allocations: 0.7193 MB / 0.5677 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.2155, allocations: 100 kB / 0.5678 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.2158, allocations: 239.9 kB / 0.5681 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.216, allocations: 274.8 kB / 0.5683 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.2162, allocations: 0.6174 MB / 0.5689 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007525/0.217, allocations: 1.483 MB / 0.5704 GB, free: 5.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.217, allocations: 4 kB / 0.5704 GB, free: 5.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.217, allocations: 0 / 0.5704 GB, free: 5.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.217, allocations: 4 kB / 0.5704 GB, free: 5.867 MB / 382.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.006151/0.2232, allocations: 2.54 MB / 0.5729 GB, free: 3.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.555e-05/0.2232, allocations: 15.98 kB / 0.5729 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004149/0.2274, allocations: 0.771 MB / 0.5736 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.2281, allocations: 0.7683 MB / 0.5744 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.2282, allocations: 256.2 kB / 0.5746 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.2284, allocations: 72 kB / 0.5747 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.2301, allocations: 1.077 MB / 0.5757 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.2301, allocations: 3.938 kB / 0.5758 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/0.2302, allocations: 28 kB / 0.5758 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.2302, allocations: 20 kB / 0.5758 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.2324, allocations: 1.117 MB / 0.5769 GB, free: 15.05 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.004709/0.2371, allocations: 3.451 MB / 0.5803 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.239, allocations: 1.406 MB / 0.5816 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.2405, allocations: 0.7813 MB / 0.5824 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.678e-05/0.2405, allocations: 12.98 kB / 0.5824 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.2406, allocations: 47.5 kB / 0.5825 GB, free: 9.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 9.578e-06/0.2406, allocations: 0 / 0.5825 GB, free: 9.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.02361/0.2642, allocations: 6.75 MB / 0.589 GB, free: 2.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2643, allocations: 60.41 kB / 0.5891 GB, free: 2.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/0.2651, allocations: 0.8876 MB / 0.59 GB, free: 1.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/0.2652, allocations: 41.7 kB / 0.59 GB, free: 1.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.2655, allocations: 0.489 MB / 0.5905 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.2658, allocations: 343 kB / 0.5908 GB, free: 432 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/0.2661, allocations: 198.8 kB / 0.591 GB, free: 224 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2662, allocations: 345.9 kB / 0.5913 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.2677, allocations: 0.7092 MB / 0.592 GB, free: 15.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.2693, allocations: 0.8384 MB / 0.5928 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01656/0.2858, allocations: 4.798 MB / 0.5975 GB, free: 9.469 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2859, allocations: 3.938 kB / 0.5975 GB, free: 9.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01231/0.2982, allocations: 4.246 MB / 0.6017 GB, free: 5.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2982, allocations: 11.98 kB / 0.6017 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2982, allocations: 4 kB / 0.6017 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005516/0.3037, allocations: 1.87 MB / 0.6035 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.3046, allocations: 199.8 kB / 0.6037 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/0.3233, allocations: 9.109 MB / 0.6126 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.3245, allocations: 175 kB / 0.6128 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.283e-05/0.3246, allocations: 35.98 kB / 0.6128 GB, free: 9.656 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.0003763/0.3249, allocations: 250.6 kB / 0.613 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.3251, allocations: 118.5 kB / 0.6132 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.3371, allocations: 4.01 MB / 0.6171 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3372, allocations: 8 kB / 0.6171 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3372, allocations: 3.938 kB / 0.6171 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.3372, allocations: 7.969 kB / 0.6171 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.3506, allocations: 5.621 MB / 0.6226 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3507, allocations: 0 / 0.6226 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.3512, allocations: 127.8 kB / 0.6227 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00533/0.3566, allocations: 1.737 MB / 0.6244 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/0.3567, allocations: 19.98 kB / 0.6244 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/0.3733, allocations: 8.08 MB / 0.6323 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3733, allocations: 0 / 0.6323 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.3869, allocations: 4.97 MB / 0.6372 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.3871, allocations: 207.4 kB / 0.6374 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.3872, allocations: 20.06 kB / 0.6374 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009072/0.3881, allocations: 107.9 kB / 0.6375 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005234/0.3887, allocations: 216.6 kB / 0.6377 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.3887, allocations: 35.92 kB / 0.6377 GB, free: 15.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006135/0.3893, allocations: 0.5927 MB / 0.6383 GB, free: 15.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3894, allocations: 0 / 0.6383 GB, free: 15.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009093/0.3903, allocations: 427.5 kB / 0.6387 GB, free: 14.75 MB / 462.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.0002066/0.3905, allocations: 131.1 kB / 0.6388 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006389/0.3969, allocations: 2.492 MB / 0.6413 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3969, allocations: 0 / 0.6413 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004258/0.4012, allocations: 1.597 MB / 0.6428 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.4017, allocations: 89.45 kB / 0.6429 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.4047, allocations: 1.998 MB / 0.6449 GB, free: 8.391 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.4052, allocations: 1.084 MB / 0.6459 GB, free: 7.281 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.4055, allocations: 75.41 kB / 0.646 GB, free: 7.207 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4055, allocations: 0 / 0.646 GB, free: 7.207 MB / 462.1 MB Notification: Performance of Templates: time 0.02157/0.4271, allocations: 19.91 MB / 0.6654 GB, free: 3.289 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)