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.08036/0.08036, allocations: 12.6 MB / 28.9 MB, free: 0.6328 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.001276/0.001276, allocations: 111.5 kB / 32.5 MB, free: 3.57 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.412/1.412, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001532/0.001532, allocations: 184.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4431/0.4431, allocations: 78.52 MB / 420 MB, free: 11.26 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.004014/0.004014, allocations: 140.2 kB / 0.5565 GB, free: 28.6 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.118, allocations: 68.14 MB / 0.6231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.00731/0.1253, allocations: 5.808 MB / 0.6287 GB, free: 9.582 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.1288, allocations: 1.713 MB / 0.6304 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004131/0.1292, allocations: 8 kB / 0.6304 GB, free: 7.855 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.1297, allocations: 206.3 kB / 0.6306 GB, free: 7.652 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.1315, allocations: 0.7338 MB / 0.6313 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1327, allocations: 0.5565 MB / 0.6319 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.1343, allocations: 1.249 MB / 0.6331 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.1347, allocations: 183.2 kB / 0.6333 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006788/0.1354, allocations: 0.5251 MB / 0.6338 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008797/0.1363, allocations: 0.6455 MB / 0.6344 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.1365, allocations: 88 kB / 0.6345 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/0.1369, allocations: 227.9 kB / 0.6347 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.1372, allocations: 239 kB / 0.6349 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005476/0.1377, allocations: 0.5475 MB / 0.6355 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.1395, allocations: 1.357 MB / 0.6368 GB, free: 1.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1395, allocations: 4 kB / 0.6368 GB, free: 1.285 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1395, allocations: 0 / 0.6368 GB, free: 1.285 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.1395, allocations: 0 / 0.6368 GB, free: 1.285 MB / 446.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.008259/0.1477, allocations: 2.383 MB / 0.6391 GB, free: 14.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1478, allocations: 15.92 kB / 0.6392 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00533/0.1531, allocations: 0.768 MB / 0.6399 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.1544, allocations: 0.7213 MB / 0.6406 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/0.1548, allocations: 252.2 kB / 0.6409 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.155, allocations: 67.94 kB / 0.6409 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.1572, allocations: 0.9521 MB / 0.6418 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1572, allocations: 3.938 kB / 0.6418 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.609e-05/0.1573, allocations: 31.98 kB / 0.6419 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.1573, allocations: 16 kB / 0.6419 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.1597, allocations: 0.9798 MB / 0.6429 GB, free: 10.96 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.006097/0.1658, allocations: 3.155 MB / 0.6459 GB, free: 7.652 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.1681, allocations: 1.23 MB / 0.6471 GB, free: 6.301 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.1697, allocations: 0.6257 MB / 0.6477 GB, free: 5.676 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-05/0.1698, allocations: 12.66 kB / 0.6478 GB, free: 5.664 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1698, allocations: 39.22 kB / 0.6478 GB, free: 5.617 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 4.649e-06/0.1698, allocations: 4 kB / 0.6478 GB, free: 5.613 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.0303/0.2001, allocations: 6.736 MB / 0.6544 GB, free: 14.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.2002, allocations: 64.05 kB / 0.6544 GB, free: 14.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.2015, allocations: 0.7987 MB / 0.6552 GB, free: 13.94 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.2017, allocations: 37.7 kB / 0.6553 GB, free: 13.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.202, allocations: 437 kB / 0.6557 GB, free: 13.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.2024, allocations: 309.3 kB / 0.656 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004183/0.2028, allocations: 186.9 kB / 0.6561 GB, free: 12.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.203, allocations: 345.9 kB / 0.6565 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.2047, allocations: 0.6506 MB / 0.6571 GB, free: 11.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.2065, allocations: 0.7756 MB / 0.6579 GB, free: 11.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01952/0.226, allocations: 4.492 MB / 0.6623 GB, free: 6.637 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.547e-06/0.226, allocations: 4 kB / 0.6623 GB, free: 6.633 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01486/0.2409, allocations: 4.09 MB / 0.6663 GB, free: 2.531 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.2409, allocations: 4 kB / 0.6663 GB, free: 2.527 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.2409, allocations: 8 kB / 0.6663 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006906/0.2478, allocations: 1.788 MB / 0.668 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008973/0.2487, allocations: 167.7 kB / 0.6682 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02496/0.2737, allocations: 9.323 MB / 0.6773 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.2751, allocations: 155.3 kB / 0.6774 GB, free: 6.934 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.2752, allocations: 35.98 kB / 0.6775 GB, free: 6.898 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.0005006/0.2757, allocations: 229.6 kB / 0.6777 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.2759, allocations: 103.3 kB / 0.6778 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/0.2902, allocations: 3.801 MB / 0.6815 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.2902, allocations: 8 kB / 0.6815 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.2902, allocations: 0 / 0.6815 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.2902, allocations: 3.984 kB / 0.6815 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.3066, allocations: 5.326 MB / 0.6867 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.3066, allocations: 0 / 0.6867 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.3072, allocations: 87.89 kB / 0.6868 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006626/0.3138, allocations: 1.749 MB / 0.6885 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.3139, allocations: 12 kB / 0.6885 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0209/0.3348, allocations: 8.077 MB / 0.6964 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3348, allocations: 3.938 kB / 0.6964 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/0.3509, allocations: 4.674 MB / 0.701 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.3513, allocations: 200.2 kB / 0.7011 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.3514, allocations: 12 kB / 0.7012 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009755/0.3524, allocations: 91.89 kB / 0.7012 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007181/0.3531, allocations: 204.8 kB / 0.7014 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.289e-05/0.3532, allocations: 16 kB / 0.7015 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008205/0.354, allocations: 0.5383 MB / 0.702 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.354, allocations: 3.938 kB / 0.702 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001275/0.3553, allocations: 415.7 kB / 0.7024 GB, free: 12.99 MB / 0.5137 GB 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.0002858/0.3556, allocations: 131.4 kB / 0.7025 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00715/0.3627, allocations: 2.227 MB / 0.7047 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3627, allocations: 4 kB / 0.7047 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005035/0.3678, allocations: 1.445 MB / 0.7061 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000759/0.3685, allocations: 80.06 kB / 0.7062 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.372, allocations: 1.748 MB / 0.7079 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/0.3727, allocations: 1.033 MB / 0.7089 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003127/0.373, allocations: 78.19 kB / 0.709 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.3732, allocations: 63.36 kB / 0.709 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.3732, allocations: 0 / 0.709 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of Templates: time 0.2754/0.6486, allocations: 22.75 MB / 0.7312 GB, free: 81.74 MB / 0.5137 GB 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)