Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08503/0.08503, allocations: 12.59 MB / 28.22 MB, free: 0.7773 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.001237/0.001237, allocations: 111.4 kB / 31.84 MB, free: 3.902 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.401/1.401, allocations: 205.1 MB / 240.4 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.001359/0.001359, allocations: 184.5 kB / 290.7 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.4401/0.4401, allocations: 78.5 MB / 419.3 MB, free: 11.28 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.002625/0.002625, allocations: 139.7 kB / 0.5559 GB, free: 28.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1355, allocations: 68.13 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007165/0.1427, allocations: 6.48 MB / 0.6287 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.1464, allocations: 1.826 MB / 0.6305 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005522/0.147, allocations: 15.94 kB / 0.6305 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005443/0.1476, allocations: 226 kB / 0.6307 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.1493, allocations: 0.7725 MB / 0.6315 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.1505, allocations: 0.6073 MB / 0.6321 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.1519, allocations: 1.425 MB / 0.6335 GB, free: 4.039 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.1524, allocations: 320.4 kB / 0.6338 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007926/0.1532, allocations: 0.5873 MB / 0.6344 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007904/0.154, allocations: 0.7388 MB / 0.6351 GB, free: 2.383 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.1542, allocations: 104 kB / 0.6352 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.1547, allocations: 231.9 kB / 0.6354 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.155, allocations: 286.7 kB / 0.6357 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.1555, allocations: 0.6213 MB / 0.6363 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.157, allocations: 1.53 MB / 0.6378 GB, free: 15.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.157, allocations: 0 / 0.6378 GB, free: 15.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1571, allocations: 0 / 0.6378 GB, free: 15.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.1571, allocations: 0 / 0.6378 GB, free: 15.61 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007747/0.1648, allocations: 2.563 MB / 0.6403 GB, free: 12.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1649, allocations: 15.98 kB / 0.6403 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004919/0.1698, allocations: 0.7787 MB / 0.641 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.1712, allocations: 0.7724 MB / 0.6418 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.1715, allocations: 260.2 kB / 0.642 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.1717, allocations: 80 kB / 0.6421 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.1741, allocations: 1.073 MB / 0.6432 GB, free: 9.922 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.1741, allocations: 3.938 kB / 0.6432 GB, free: 9.918 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.544e-05/0.1742, allocations: 31.94 kB / 0.6432 GB, free: 9.887 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.1743, allocations: 20 kB / 0.6432 GB, free: 9.867 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.1768, allocations: 1.128 MB / 0.6443 GB, free: 8.734 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.006134/0.183, allocations: 3.444 MB / 0.6477 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.1853, allocations: 1.423 MB / 0.6491 GB, free: 3.598 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.187, allocations: 0.7812 MB / 0.6498 GB, free: 2.816 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.156e-05/0.1871, allocations: 24.86 kB / 0.6499 GB, free: 2.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1871, allocations: 43.56 kB / 0.6499 GB, free: 2.742 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.665e-06/0.1871, allocations: 0 / 0.6499 GB, free: 2.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02651/0.2137, allocations: 6.609 MB / 0.6564 GB, free: 12.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.2138, allocations: 60.41 kB / 0.6564 GB, free: 12.03 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.215, allocations: 0.9001 MB / 0.6573 GB, free: 11.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.2152, allocations: 45.7 kB / 0.6573 GB, free: 11.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003683/0.2156, allocations: 0.489 MB / 0.6578 GB, free: 10.56 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.216, allocations: 343.1 kB / 0.6581 GB, free: 10.22 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004006/0.2164, allocations: 202.8 kB / 0.6583 GB, free: 10.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2165, allocations: 349.9 kB / 0.6587 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.2183, allocations: 0.717 MB / 0.6594 GB, free: 8.953 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.2201, allocations: 0.8462 MB / 0.6602 GB, free: 8.074 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01963/0.2397, allocations: 4.846 MB / 0.6649 GB, free: 3.195 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.2398, allocations: 0 / 0.6649 GB, free: 3.195 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01474/0.2545, allocations: 4.273 MB / 0.6691 GB, free: 14.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.2546, allocations: 8 kB / 0.6691 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2546, allocations: 3.938 kB / 0.6691 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006565/0.2612, allocations: 1.803 MB / 0.6709 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.2624, allocations: 215.7 kB / 0.6711 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.023/0.2854, allocations: 9.318 MB / 0.6802 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.2871, allocations: 175 kB / 0.6804 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.2872, allocations: 43.98 kB / 0.6804 GB, free: 3.191 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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.0005063/0.2877, allocations: 245.5 kB / 0.6806 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.2879, allocations: 118.5 kB / 0.6807 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.3026, allocations: 4.014 MB / 0.6847 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/0.3027, allocations: 12 kB / 0.6847 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3027, allocations: 0 / 0.6847 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.3027, allocations: 3.984 kB / 0.6847 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.3198, allocations: 5.614 MB / 0.6902 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/0.3199, allocations: 0 / 0.6902 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/0.3208, allocations: 131.8 kB / 0.6903 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006513/0.3273, allocations: 1.745 MB / 0.692 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/0.3275, allocations: 20 kB / 0.692 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/0.3479, allocations: 8.068 MB / 0.6999 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.348, allocations: 7.938 kB / 0.6999 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/0.3643, allocations: 4.964 MB / 0.7047 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.3647, allocations: 207.4 kB / 0.7049 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.3649, allocations: 20 kB / 0.705 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.3661, allocations: 111.8 kB / 0.7051 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007843/0.3669, allocations: 224.6 kB / 0.7053 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/0.3669, allocations: 24 kB / 0.7053 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008563/0.3678, allocations: 0.6008 MB / 0.7059 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3678, allocations: 0 / 0.7059 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00139/0.3692, allocations: 435.5 kB / 0.7063 GB, free: 8.285 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.0002756/0.3695, allocations: 127.5 kB / 0.7064 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007284/0.3768, allocations: 2.499 MB / 0.7089 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3768, allocations: 0 / 0.7089 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005089/0.3819, allocations: 1.597 MB / 0.7104 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007942/0.3827, allocations: 89.05 kB / 0.7105 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.3863, allocations: 2.006 MB / 0.7125 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.387, allocations: 1.095 MB / 0.7135 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000334/0.3873, allocations: 86.77 kB / 0.7136 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.3875, allocations: 71.42 kB / 0.7137 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of SimCode: time 9.61e-07/0.3875, allocations: 0 / 0.7137 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of Templates: time 0.3597/0.7473, allocations: 23.91 MB / 0.737 GB, free: 78.86 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)