Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07838/0.07838, allocations: 12.6 MB / 28.9 MB, free: 0.6953 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 111.5 kB / 32.5 MB, free: 3.629 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.365/1.365, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001508/0.001508, allocations: 192.3 kB / 291.4 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4287/0.4287, allocations: 78.51 MB / 420 MB, free: 10.77 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.002507/0.002507, allocations: 133.7 kB / 0.5565 GB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1366, allocations: 68.13 MB / 0.6231 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006465/0.1431, allocations: 5.794 MB / 0.6287 GB, free: 7.395 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.1469, allocations: 1.705 MB / 0.6304 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.148, allocations: 12 kB / 0.6304 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000763/0.1488, allocations: 206.2 kB / 0.6306 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.1511, allocations: 0.6832 MB / 0.6313 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.1525, allocations: 0.5609 MB / 0.6318 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.1542, allocations: 1.257 MB / 0.633 GB, free: 2.969 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.1547, allocations: 267.2 kB / 0.6333 GB, free: 2.695 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006886/0.1554, allocations: 0.5173 MB / 0.6338 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006605/0.1561, allocations: 0.6416 MB / 0.6344 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.1562, allocations: 88 kB / 0.6345 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.1567, allocations: 227.8 kB / 0.6347 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.1568, allocations: 235 kB / 0.6349 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004076/0.1573, allocations: 0.5553 MB / 0.6355 GB, free: 444 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.1586, allocations: 1.358 MB / 0.6368 GB, free: 15.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1586, allocations: 0 / 0.6368 GB, free: 15.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1586, allocations: 0 / 0.6368 GB, free: 15.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.1587, allocations: 0 / 0.6368 GB, free: 15.07 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.00745/0.1661, allocations: 2.353 MB / 0.6391 GB, free: 12.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1662, allocations: 11.98 kB / 0.6391 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004834/0.171, allocations: 0.7556 MB / 0.6399 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.1722, allocations: 0.7127 MB / 0.6406 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.1725, allocations: 256.2 kB / 0.6408 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.1726, allocations: 68 kB / 0.6409 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.1747, allocations: 0.9598 MB / 0.6418 GB, free: 9.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1747, allocations: 3.938 kB / 0.6418 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/0.1748, allocations: 31.94 kB / 0.6418 GB, free: 9.785 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.1748, allocations: 16 kB / 0.6418 GB, free: 9.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.1768, allocations: 0.976 MB / 0.6428 GB, free: 8.789 MB / 462.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.005078/0.1819, allocations: 3.147 MB / 0.6459 GB, free: 5.492 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.1839, allocations: 1.304 MB / 0.6471 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.1853, allocations: 0.7077 MB / 0.6478 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.097e-05/0.1854, allocations: 8.656 kB / 0.6478 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1854, allocations: 43.22 kB / 0.6479 GB, free: 3.301 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 3.006e-06/0.1854, allocations: 0 / 0.6479 GB, free: 3.301 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.02666/0.2121, allocations: 6.763 MB / 0.6545 GB, free: 12.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.2122, allocations: 64.06 kB / 0.6546 GB, free: 12.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.2139, allocations: 0.7986 MB / 0.6553 GB, free: 11.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002836/0.2142, allocations: 41.7 kB / 0.6554 GB, free: 11.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.2146, allocations: 428.4 kB / 0.6558 GB, free: 11.13 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005284/0.2152, allocations: 303.8 kB / 0.6561 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005689/0.2158, allocations: 174.9 kB / 0.6562 GB, free: 10.65 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2159, allocations: 345.9 kB / 0.6566 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.2174, allocations: 0.6584 MB / 0.6572 GB, free: 9.648 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.219, allocations: 0.7679 MB / 0.658 GB, free: 8.844 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01771/0.2368, allocations: 4.496 MB / 0.6624 GB, free: 4.312 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.2368, allocations: 0 / 0.6624 GB, free: 4.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01342/0.2502, allocations: 4.121 MB / 0.6664 GB, free: 180 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.2503, allocations: 8.938 kB / 0.6664 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2503, allocations: 4 kB / 0.6664 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006323/0.2567, allocations: 1.784 MB / 0.6681 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008909/0.2576, allocations: 171.7 kB / 0.6683 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/0.2799, allocations: 9.314 MB / 0.6774 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.2814, allocations: 155 kB / 0.6775 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/0.2816, allocations: 32 kB / 0.6776 GB, free: 4.551 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0005436/0.2822, allocations: 228.7 kB / 0.6778 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/0.2825, allocations: 102.8 kB / 0.6779 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.2952, allocations: 3.833 MB / 0.6816 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.2953, allocations: 15.94 kB / 0.6816 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2953, allocations: 0 / 0.6816 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/0.2953, allocations: 3.984 kB / 0.6816 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3459/0.6412, allocations: 5.346 MB / 0.6869 GB, free: 52.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.6413, allocations: 1.719 kB / 0.6869 GB, free: 52.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.6419, allocations: 87.66 kB / 0.687 GB, free: 52.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006637/0.6486, allocations: 1.75 MB / 0.6887 GB, free: 52.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.6487, allocations: 11.75 kB / 0.6887 GB, free: 52.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02015/0.6689, allocations: 8.061 MB / 0.6965 GB, free: 49.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.669, allocations: 0 / 0.6965 GB, free: 49.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/0.6833, allocations: 4.721 MB / 0.7012 GB, free: 47.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.6837, allocations: 187.4 kB / 0.7013 GB, free: 47.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.6839, allocations: 17.47 kB / 0.7014 GB, free: 47.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009107/0.6848, allocations: 96.91 kB / 0.7014 GB, free: 47.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006684/0.6855, allocations: 199.2 kB / 0.7016 GB, free: 47.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.527e-05/0.6855, allocations: 18.78 kB / 0.7017 GB, free: 47.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006695/0.6862, allocations: 0.5342 MB / 0.7022 GB, free: 47.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6862, allocations: 1.125 kB / 0.7022 GB, free: 47.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001285/0.6875, allocations: 406.4 kB / 0.7026 GB, free: 47.31 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.0002419/0.6877, allocations: 126.4 kB / 0.7027 GB, free: 47.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006286/0.694, allocations: 2.329 MB / 0.705 GB, free: 46.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6941, allocations: 4.062 kB / 0.705 GB, free: 46.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004734/0.6988, allocations: 1.504 MB / 0.7064 GB, free: 45.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008492/0.6997, allocations: 78.38 kB / 0.7065 GB, free: 45.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.7025, allocations: 1.759 MB / 0.7082 GB, free: 44.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.7028, allocations: 1.032 MB / 0.7092 GB, free: 44.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.7031, allocations: 63.61 kB / 0.7093 GB, free: 44.12 MB / 494.1 MB Notification: Performance of SimCode: time 1.383e-06/0.7031, allocations: 1.281 kB / 0.7093 GB, free: 44.12 MB / 494.1 MB Notification: Performance of Templates: time 0.01834/0.7214, allocations: 17.86 MB / 0.7267 GB, free: 29.88 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)