Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07288/0.07288, allocations: 12.6 MB / 28.85 MB, free: 284 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.001021/0.001021, allocations: 115.4 kB / 32.45 MB, free: 3.418 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.336/1.336, allocations: 205.1 MB / 241 MB, free: 12.39 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.001383/0.001382, allocations: 192.2 kB / 291.3 MB, free: 10.96 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4454/0.4454, allocations: 78.52 MB / 419.9 MB, free: 10.78 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.002666/0.002666, allocations: 139.8 kB / 0.4895 GB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3361, allocations: 68.12 MB / 0.556 GB, free: 21.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00703/0.3432, allocations: 5.736 MB / 0.5616 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003906/0.3472, allocations: 1.693 MB / 0.5633 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005102/0.3477, allocations: 8 kB / 0.5633 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005305/0.3483, allocations: 214.2 kB / 0.5635 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.35, allocations: 0.6686 MB / 0.5641 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.3513, allocations: 0.5531 MB / 0.5647 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.3525, allocations: 1.229 MB / 0.5659 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004643/0.353, allocations: 281.5 kB / 0.5661 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.3535, allocations: 0.5095 MB / 0.5666 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006602/0.3542, allocations: 0.6377 MB / 0.5672 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.3543, allocations: 88 kB / 0.5673 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.3548, allocations: 219.9 kB / 0.5675 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.355, allocations: 238.9 kB / 0.5678 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.3554, allocations: 0.5359 MB / 0.5683 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.3567, allocations: 1.335 MB / 0.5696 GB, free: 7.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3567, allocations: 4 kB / 0.5696 GB, free: 7.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3567, allocations: 3.938 kB / 0.5696 GB, free: 7.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3567, allocations: 0 / 0.5696 GB, free: 7.273 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.009614/0.3664, allocations: 2.329 MB / 0.5719 GB, free: 4.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.3664, allocations: 15.98 kB / 0.5719 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008388/0.3748, allocations: 0.7556 MB / 0.5726 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.3765, allocations: 0.7088 MB / 0.5733 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.3768, allocations: 243.5 kB / 0.5736 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.377, allocations: 68 kB / 0.5736 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/0.3796, allocations: 0.9472 MB / 0.5745 GB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.3796, allocations: 3.938 kB / 0.5745 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.3798, allocations: 32 kB / 0.5746 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.3798, allocations: 16 kB / 0.5746 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/0.3825, allocations: 0.9655 MB / 0.5755 GB, free: 1.055 MB / 382.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.007165/0.3897, allocations: 3.128 MB / 0.5786 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/0.3926, allocations: 1.321 MB / 0.5799 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002018/0.3946, allocations: 0.6983 MB / 0.5806 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.3948, allocations: 8.656 kB / 0.5806 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.3948, allocations: 43.22 kB / 0.5806 GB, free: 11.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 5.5e-06/0.3948, allocations: 4 kB / 0.5806 GB, free: 11.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.02652/0.4213, allocations: 6.693 MB / 0.5872 GB, free: 4.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.4214, allocations: 60.06 kB / 0.5872 GB, free: 4.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.4227, allocations: 0.7943 MB / 0.588 GB, free: 3.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000171/0.4229, allocations: 45.64 kB / 0.588 GB, free: 3.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.4232, allocations: 424.5 kB / 0.5884 GB, free: 3.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000362/0.4236, allocations: 283.8 kB / 0.5887 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004193/0.424, allocations: 182.5 kB / 0.5889 GB, free: 3.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4242, allocations: 345.9 kB / 0.5892 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.4256, allocations: 0.6386 MB / 0.5898 GB, free: 2.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.4271, allocations: 0.7627 MB / 0.5906 GB, free: 1.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/0.4447, allocations: 4.446 MB / 0.5949 GB, free: 12.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.4447, allocations: 4 kB / 0.5949 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01303/0.4578, allocations: 4.039 MB / 0.5989 GB, free: 8.715 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.4578, allocations: 8 kB / 0.5989 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4578, allocations: 0 / 0.5989 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006132/0.464, allocations: 1.863 MB / 0.6007 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/0.4649, allocations: 167.7 kB / 0.6009 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/0.4863, allocations: 9.078 MB / 0.6097 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.4878, allocations: 155 kB / 0.6099 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.488, allocations: 35.98 kB / 0.6099 GB, free: 13.27 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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.0005906/0.4886, allocations: 227.2 kB / 0.6101 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.4889, allocations: 98.78 kB / 0.6102 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.5012, allocations: 3.821 MB / 0.6139 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.5013, allocations: 8 kB / 0.6139 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5013, allocations: 7.922 kB / 0.614 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/0.5013, allocations: 3.984 kB / 0.614 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/0.5161, allocations: 5.321 MB / 0.6192 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.5161, allocations: 7.922 kB / 0.6192 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/0.5167, allocations: 83.89 kB / 0.6192 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005979/0.5227, allocations: 1.745 MB / 0.6209 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/0.5229, allocations: 20 kB / 0.621 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/0.5417, allocations: 8.072 MB / 0.6289 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5417, allocations: 4 kB / 0.6289 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/0.556, allocations: 4.689 MB / 0.6334 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/0.5564, allocations: 187.6 kB / 0.6336 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.5567, allocations: 15.94 kB / 0.6336 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.5578, allocations: 95.95 kB / 0.6337 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006715/0.5585, allocations: 200.6 kB / 0.6339 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.5586, allocations: 23.94 kB / 0.6339 GB, free: 4.281 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007625/0.5593, allocations: 0.5303 MB / 0.6345 GB, free: 3.758 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5593, allocations: 4 kB / 0.6345 GB, free: 3.754 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001337/0.5607, allocations: 391.6 kB / 0.6348 GB, free: 3.371 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * 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.0002916/0.561, allocations: 127.2 kB / 0.6349 GB, free: 3.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006405/0.5674, allocations: 2.306 MB / 0.6372 GB, free: 0.918 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5674, allocations: 4 kB / 0.6372 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004436/0.5719, allocations: 1.496 MB / 0.6387 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.5727, allocations: 75.31 kB / 0.6387 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.5761, allocations: 1.648 MB / 0.6403 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/0.5768, allocations: 1.025 MB / 0.6413 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.5772, allocations: 82.17 kB / 0.6414 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.5774, allocations: 59.42 kB / 0.6415 GB, free: 12.47 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5774, allocations: 7.875 kB / 0.6415 GB, free: 12.46 MB / 462.1 MB Notification: Performance of Templates: time 0.03455/0.6119, allocations: 22.08 MB / 0.6631 GB, free: 6.395 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)