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.08015/0.08015, allocations: 12.59 MB / 28.22 MB, free: 0.7344 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.0009883/0.0009883, allocations: 111.4 kB / 31.83 MB, free: 3.875 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.404/1.404, allocations: 205.1 MB / 240.4 MB, free: 12.35 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.001312/0.001313, allocations: 188.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.4493/0.4493, allocations: 78.5 MB / 419.3 MB, free: 11.23 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.002599/0.002599, allocations: 144 kB / 0.5559 GB, free: 28.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1375, allocations: 68.13 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006353/0.1439, allocations: 5.738 MB / 0.628 GB, free: 9.664 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003646/0.1476, allocations: 1.697 MB / 0.6296 GB, free: 7.957 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000723/0.1484, allocations: 11.94 kB / 0.6297 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005783/0.149, allocations: 206.3 kB / 0.6299 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.1509, allocations: 0.726 MB / 0.6306 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.1522, allocations: 0.5537 MB / 0.6311 GB, free: 6.469 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.1538, allocations: 1.229 MB / 0.6323 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000477/0.1543, allocations: 271.1 kB / 0.6326 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007579/0.155, allocations: 0.5134 MB / 0.6331 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007412/0.1558, allocations: 0.6299 MB / 0.6337 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.1559, allocations: 84 kB / 0.6338 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004867/0.1564, allocations: 223.9 kB / 0.634 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.1566, allocations: 242.9 kB / 0.6342 GB, free: 3.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004638/0.1571, allocations: 0.5397 MB / 0.6347 GB, free: 2.727 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.1586, allocations: 1.335 MB / 0.636 GB, free: 1.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1586, allocations: 4 kB / 0.636 GB, free: 1.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1586, allocations: 0 / 0.636 GB, free: 1.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.1586, allocations: 0 / 0.636 GB, free: 1.383 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00822/0.1668, allocations: 2.333 MB / 0.6383 GB, free: 15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.1669, allocations: 15.92 kB / 0.6383 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005129/0.1721, allocations: 0.7556 MB / 0.6391 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.1737, allocations: 0.7127 MB / 0.6398 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/0.1741, allocations: 243.5 kB / 0.64 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.1743, allocations: 68 kB / 0.6401 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.1764, allocations: 0.9395 MB / 0.641 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1765, allocations: 3.938 kB / 0.641 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/0.1766, allocations: 24 kB / 0.641 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.1766, allocations: 20 kB / 0.641 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.1788, allocations: 0.9694 MB / 0.642 GB, free: 11.16 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.005888/0.1847, allocations: 3.128 MB / 0.645 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/0.1869, allocations: 1.315 MB / 0.6463 GB, free: 6.449 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.1884, allocations: 0.6982 MB / 0.647 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.882e-05/0.1885, allocations: 16.62 kB / 0.647 GB, free: 5.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1885, allocations: 43.22 kB / 0.6471 GB, free: 5.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.414e-06/0.1886, allocations: 0 / 0.6471 GB, free: 5.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02811/0.2167, allocations: 6.7 MB / 0.6536 GB, free: 14.94 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.2168, allocations: 60.06 kB / 0.6537 GB, free: 14.87 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.2179, allocations: 0.7904 MB / 0.6544 GB, free: 14.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.2181, allocations: 41.64 kB / 0.6545 GB, free: 14.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.2184, allocations: 432.4 kB / 0.6549 GB, free: 13.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.2187, allocations: 291.8 kB / 0.6552 GB, free: 13.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/0.2191, allocations: 178.5 kB / 0.6553 GB, free: 13.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2192, allocations: 349.9 kB / 0.6557 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.2207, allocations: 0.6347 MB / 0.6563 GB, free: 12.14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.2223, allocations: 0.7588 MB / 0.657 GB, free: 11.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01781/0.2401, allocations: 4.453 MB / 0.6614 GB, free: 6.863 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.2402, allocations: 0 / 0.6614 GB, free: 6.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01373/0.2539, allocations: 4.039 MB / 0.6653 GB, free: 2.812 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.254, allocations: 4 kB / 0.6653 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.254, allocations: 8 kB / 0.6653 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00665/0.2607, allocations: 1.863 MB / 0.6671 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/0.2616, allocations: 163.8 kB / 0.6673 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02271/0.2843, allocations: 9.082 MB / 0.6762 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.2863, allocations: 159 kB / 0.6763 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/0.2866, allocations: 39.98 kB / 0.6764 GB, free: 7.344 MB / 494.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.001081/0.2877, allocations: 214.3 kB / 0.6766 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005457/0.2883, allocations: 98.78 kB / 0.6767 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.3022, allocations: 3.825 MB / 0.6804 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.3023, allocations: 8 kB / 0.6804 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3023, allocations: 0 / 0.6804 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.3023, allocations: 3.984 kB / 0.6804 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.3178, allocations: 5.329 MB / 0.6856 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.517e-06/0.3178, allocations: 0 / 0.6856 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.3184, allocations: 87.89 kB / 0.6857 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006267/0.3247, allocations: 1.745 MB / 0.6874 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.3248, allocations: 16 kB / 0.6874 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/0.3452, allocations: 8.076 MB / 0.6953 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3453, allocations: 0 / 0.6953 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/0.3606, allocations: 4.681 MB / 0.6999 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.361, allocations: 191.6 kB / 0.7001 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.3612, allocations: 19.94 kB / 0.7001 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.3623, allocations: 87.95 kB / 0.7002 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006577/0.363, allocations: 204.6 kB / 0.7004 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/0.3631, allocations: 20 kB / 0.7004 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007966/0.3639, allocations: 0.5302 MB / 0.7009 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3639, allocations: 0 / 0.7009 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001354/0.3653, allocations: 403.6 kB / 0.7013 GB, free: 13.46 MB / 0.5137 GB 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.0002634/0.3655, allocations: 127.1 kB / 0.7014 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006908/0.3724, allocations: 2.314 MB / 0.7037 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3725, allocations: 0 / 0.7037 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004833/0.3773, allocations: 1.507 MB / 0.7051 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.3781, allocations: 83.3 kB / 0.7052 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.3813, allocations: 1.652 MB / 0.7068 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/0.382, allocations: 1.021 MB / 0.7078 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000315/0.3823, allocations: 78.19 kB / 0.7079 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.3825, allocations: 55.44 kB / 0.7079 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.3825, allocations: 4 kB / 0.7079 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of Templates: time 0.2884/0.6709, allocations: 22.26 MB / 0.7297 GB, free: 82.06 MB / 0.5137 GB 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)