Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007963/0.007963, allocations: 101.3 kB / 15.73 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 239.4 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 192.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5687/0.5687, allocations: 91.9 MB / 431.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 79.72 kB / 0.5723 GB, free: 33.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1435, allocations: 71.29 MB / 0.6419 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007249/0.1508, allocations: 6.716 MB / 0.6484 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004397/0.1552, allocations: 2.017 MB / 0.6504 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005558/0.1558, allocations: 12 kB / 0.6504 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007439/0.1566, allocations: 237.9 kB / 0.6506 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.1585, allocations: 0.8704 MB / 0.6515 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1599, allocations: 0.6411 MB / 0.6521 GB, free: 9.512 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.1616, allocations: 1.675 MB / 0.6538 GB, free: 7.832 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005192/0.1622, allocations: 329.3 kB / 0.6541 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007576/0.1629, allocations: 0.6964 MB / 0.6547 GB, free: 6.805 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.1639, allocations: 0.879 MB / 0.6556 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.1641, allocations: 132 kB / 0.6557 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005254/0.1647, allocations: 267.9 kB / 0.656 GB, free: 5.531 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.165, allocations: 342.6 kB / 0.6563 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006589/0.1657, allocations: 0.703 MB / 0.657 GB, free: 4.488 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.1674, allocations: 1.725 MB / 0.6587 GB, free: 2.758 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1674, allocations: 0 / 0.6587 GB, free: 2.758 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1674, allocations: 3.938 kB / 0.6587 GB, free: 2.754 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.1675, allocations: 4 kB / 0.6587 GB, free: 2.75 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008511/0.176, allocations: 2.778 MB / 0.6614 GB, free: 15.9 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.176, allocations: 12.03 kB / 0.6614 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.1762, allocations: 122.7 kB / 0.6615 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/0.181, allocations: 0.7826 MB / 0.6623 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.1829, allocations: 0.9257 MB / 0.6632 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000299/0.1832, allocations: 260.2 kB / 0.6634 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.1834, allocations: 91.84 kB / 0.6635 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.1855, allocations: 1.114 MB / 0.6646 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.1855, allocations: 0 / 0.6646 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.179e-05/0.1856, allocations: 35.98 kB / 0.6647 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.1857, allocations: 20 kB / 0.6647 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.1876, allocations: 1.003 MB / 0.6657 GB, free: 11.43 MB / 478.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.006414/0.194, allocations: 3.887 MB / 0.6695 GB, free: 7.363 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006789/0.2008, allocations: 2.399 MB / 0.6718 GB, free: 4.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.2021, allocations: 0.6957 MB / 0.6725 GB, free: 4.168 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.2023, allocations: 16.98 kB / 0.6725 GB, free: 4.152 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001511/0.2038, allocations: 0.8448 MB / 0.6733 GB, free: 3.289 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.126e-06/0.2038, allocations: 0 / 0.6733 GB, free: 3.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.0258/0.2296, allocations: 7.085 MB / 0.6802 GB, free: 12.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/0.2297, allocations: 123.8 kB / 0.6804 GB, free: 11.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.2319, allocations: 1.131 MB / 0.6815 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002032/0.2321, allocations: 41.7 kB / 0.6815 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005276/0.2327, allocations: 0.5047 MB / 0.682 GB, free: 10.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005459/0.2332, allocations: 362.9 kB / 0.6823 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008084/0.2341, allocations: 307.2 kB / 0.6826 GB, free: 9.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2342, allocations: 309.1 kB / 0.6829 GB, free: 9.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.2359, allocations: 0.7926 MB / 0.6837 GB, free: 8.527 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.2377, allocations: 0.9616 MB / 0.6846 GB, free: 7.527 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02455/0.2623, allocations: 5.923 MB / 0.6904 GB, free: 1.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.2623, allocations: 4 kB / 0.6904 GB, free: 1.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01408/0.2764, allocations: 4.512 MB / 0.6948 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/0.2765, allocations: 55.41 kB / 0.6949 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.2766, allocations: 4 kB / 0.6949 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005995/0.2826, allocations: 1.67 MB / 0.6965 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.2842, allocations: 295.6 kB / 0.6968 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/0.3045, allocations: 8.619 MB / 0.7052 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.3069, allocations: 202.6 kB / 0.7054 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00037/0.3073, allocations: 59.97 kB / 0.7055 GB, free: 1.91 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.3083, allocations: 305.9 kB / 0.7058 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000469/0.3088, allocations: 130.4 kB / 0.7059 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.321, allocations: 3.932 MB / 0.7097 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.321, allocations: 12 kB / 0.7097 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/0.321, allocations: 8 kB / 0.7097 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.3211, allocations: 3.984 kB / 0.7097 GB, free: 13.48 MB / 0.5137 GB 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 postOpt removeSimpleEquations (simulation): time 0.01472/0.3358, allocations: 5.553 MB / 0.7152 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.3359, allocations: 0 / 0.7152 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000719/0.3366, allocations: 107.8 kB / 0.7153 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005382/0.342, allocations: 1.591 MB / 0.7168 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/0.3422, allocations: 31.98 kB / 0.7169 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02001/0.3623, allocations: 9.617 MB / 0.7262 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3623, allocations: 0 / 0.7262 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/0.3763, allocations: 4.809 MB / 0.7309 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/0.3768, allocations: 231.2 kB / 0.7312 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003932/0.3773, allocations: 20 kB / 0.7312 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.3787, allocations: 111.9 kB / 0.7313 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006774/0.3794, allocations: 196.7 kB / 0.7315 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.3796, allocations: 28.06 kB / 0.7315 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001432/0.381, allocations: 0.7713 MB / 0.7323 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.381, allocations: 0 / 0.7323 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001916/0.3829, allocations: 491.5 kB / 0.7327 GB, free: 5.484 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0141/0.3971, allocations: 5.393 MB / 0.738 GB, free: 40 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00673/0.4038, allocations: 2.625 MB / 0.7406 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4038, allocations: 4.125 kB / 0.7406 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004075/0.4079, allocations: 1.619 MB / 0.7421 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.4094, allocations: 117.7 kB / 0.7423 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0413/0.4507, allocations: 16.76 MB / 0.7586 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009128/0.4517, allocations: 1.14 MB / 0.7597 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00062/0.4523, allocations: 120.3 kB / 0.7598 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008666/0.4532, allocations: 487.3 kB / 0.7603 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of SimCode: time 1.273e-06/0.4532, allocations: 8 kB / 0.7603 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4004/0.8537, allocations: 35.58 MB / 0.7951 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.82, allocations: 4 kB / 0.7951 GB, free: 107.5 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)