Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",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.001347/0.001347, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 239.3 MB, free: 4.605 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.001395/0.001395, allocations: 200.4 kB / 289.6 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4996/0.4996, allocations: 91.9 MB / 431.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001614, allocations: 84.09 kB / 0.502 GB, free: 7.664 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3802, allocations: 71.27 MB / 0.5716 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.0101/0.3904, allocations: 14.98 MB / 0.5862 GB, free: 26.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008011/0.3984, allocations: 4.596 MB / 0.5907 GB, free: 23.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.401, allocations: 26.88 kB / 0.5907 GB, free: 23.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.4028, allocations: 0.7824 MB / 0.5915 GB, free: 22.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004957/0.4078, allocations: 1.883 MB / 0.5933 GB, free: 21.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.4106, allocations: 1.422 MB / 0.5947 GB, free: 20.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005812/0.4164, allocations: 4.505 MB / 0.5991 GB, free: 18.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.4175, allocations: 0.7919 MB / 0.5999 GB, free: 18.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.4204, allocations: 1.796 MB / 0.6016 GB, free: 17.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/0.4235, allocations: 2.365 MB / 0.6039 GB, free: 16.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007363/0.4242, allocations: 402.9 kB / 0.6043 GB, free: 16.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.4257, allocations: 0.646 MB / 0.605 GB, free: 16.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006684/0.4264, allocations: 0.9442 MB / 0.6059 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002278/0.4287, allocations: 1.976 MB / 0.6078 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007075/0.4358, allocations: 5.214 MB / 0.6129 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.4358, allocations: 0 / 0.6129 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.4358, allocations: 4 kB / 0.6129 GB, free: 11.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001639/0.436, allocations: 0 / 0.6129 GB, free: 11.82 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03647/0.4725, allocations: 8.156 MB / 0.6209 GB, free: 8.887 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4725, allocations: 10.22 kB / 0.6209 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004482/0.473, allocations: 286.9 kB / 0.6212 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/0.4859, allocations: 1.755 MB / 0.6229 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005183/0.4912, allocations: 2.173 MB / 0.625 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000725/0.4919, allocations: 0.6719 MB / 0.6257 GB, free: 5.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007496/0.4927, allocations: 241.9 kB / 0.6259 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00572/0.4984, allocations: 2.682 MB / 0.6285 GB, free: 4.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.4985, allocations: 4 kB / 0.6285 GB, free: 4.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.4987, allocations: 72 kB / 0.6286 GB, free: 4.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.4988, allocations: 52 kB / 0.6286 GB, free: 4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005377/0.5041, allocations: 2.838 MB / 0.6314 GB, free: 1.16 MB / 430.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.0201/0.5242, allocations: 11.06 MB / 0.6422 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.5359, allocations: 4.971 MB / 0.647 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003857/0.5398, allocations: 1.933 MB / 0.6489 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002224/0.5401, allocations: 45.95 kB / 0.649 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.5401, allocations: 60.56 kB / 0.649 GB, free: 14.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 4.388e-06/0.5401, allocations: 3.938 kB / 0.649 GB, free: 14.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=249): time 0.1269/0.667, allocations: 29.55 MB / 0.6779 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.6672, allocations: 77.34 kB / 0.678 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005402/0.6726, allocations: 2.902 MB / 0.6808 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001083/0.6737, allocations: 85.7 kB / 0.6809 GB, free: 13.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.6748, allocations: 1.256 MB / 0.6821 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001558/0.6764, allocations: 0.8974 MB / 0.683 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/0.6778, allocations: 0.7522 MB / 0.6837 GB, free: 10.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.6779, allocations: 301.1 kB / 0.684 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005012/0.6829, allocations: 2.28 MB / 0.6862 GB, free: 8.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005172/0.6881, allocations: 2.673 MB / 0.6888 GB, free: 5.324 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/0.6987, allocations: 4.851 MB / 0.6936 GB, free: 404 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.6987, allocations: 0 / 0.6936 GB, free: 404 kB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01694/0.7157, allocations: 7.216 MB / 0.7006 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.7157, allocations: 8 kB / 0.7006 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.7158, allocations: 8 kB / 0.7006 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01911/0.7349, allocations: 5.745 MB / 0.7063 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/0.7386, allocations: 0.6592 MB / 0.7069 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/0.753, allocations: 5.458 MB / 0.7122 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005928/0.759, allocations: 0.5118 MB / 0.7127 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007121/0.7597, allocations: 136 kB / 0.7129 GB, free: 12.61 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (410): * Single equations (assignments): 409 * 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 {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.001406/0.7612, allocations: 0.5207 MB / 0.7134 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009454/0.7621, allocations: 335.7 kB / 0.7137 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03475/0.7969, allocations: 10.52 MB / 0.724 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-05/0.7969, allocations: 27.94 kB / 0.724 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.797, allocations: 4 kB / 0.724 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.232e-05/0.797, allocations: 11.95 kB / 0.724 GB, free: 1.102 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.04135/0.8384, allocations: 14.65 MB / 0.7383 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/0.8385, allocations: 0 / 0.7383 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.8402, allocations: 255.6 kB / 0.7386 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01664/0.8569, allocations: 4.773 MB / 0.7432 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007014/0.8576, allocations: 47.98 kB / 0.7433 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05462/0.9123, allocations: 21.48 MB / 0.7642 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.9123, allocations: 0 / 0.7642 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2778/1.19, allocations: 12.81 MB / 0.7767 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/1.192, allocations: 497.9 kB / 0.7772 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/1.193, allocations: 49.59 kB / 0.7773 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003424/1.197, allocations: 246.6 kB / 0.7775 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001664/1.198, allocations: 0.5176 MB / 0.778 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/1.198, allocations: 65.11 kB / 0.7781 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002559/1.201, allocations: 1.877 MB / 0.7799 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.201, allocations: 5.188 kB / 0.7799 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003299/1.204, allocations: 1.126 MB / 0.781 GB, free: 162.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * 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 (156): * Single equations (assignments): 155 * 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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03841/1.243, allocations: 13.23 MB / 0.7939 GB, free: 159 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02126/1.264, allocations: 6.22 MB / 0.8 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.264, allocations: 3.938 kB / 0.8 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01163/1.276, allocations: 3.798 MB / 0.8037 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/1.279, allocations: 262.7 kB / 0.804 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0753/1.354, allocations: 43.26 MB / 0.8462 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.355, allocations: 1.841 MB / 0.848 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001615/1.357, allocations: 300.9 kB / 0.8483 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/1.359, allocations: 1.397 MB / 0.8497 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.233e-06/1.359, allocations: 0 / 0.8497 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1418/1.5, allocations: 88.6 MB / 0.9362 GB, free: 28.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/15.22, allocations: 7.844 kB / 0.9362 GB, free: 28.07 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)