Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1003/0.1003, allocations: 12.2 MB / 27.43 MB, free: 1.395 MB / 19.64 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 123.4 kB / 30.95 MB, free: 4.664 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.606/1.606, allocations: 205.1 MB / 239.4 MB, free: 12.95 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.001821/0.001821, allocations: 188.5 kB / 289.6 MB, free: 14.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.463/0.463, allocations: 78.5 MB / 418.1 MB, free: 12 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.002864/0.002864, allocations: 136.7 kB / 498.5 MB, free: 11.76 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3995, allocations: 68.03 MB / 0.5533 GB, free: 32.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01463/0.4142, allocations: 15.81 MB / 0.5687 GB, free: 20.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.4248, allocations: 4.7 MB / 0.5733 GB, free: 16.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004273/0.4291, allocations: 31.5 kB / 0.5733 GB, free: 16.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.4314, allocations: 0.61 MB / 0.5739 GB, free: 16.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007372/0.4388, allocations: 2.169 MB / 0.576 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.4418, allocations: 1.235 MB / 0.5772 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007648/0.4494, allocations: 4.875 MB / 0.582 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.4514, allocations: 0.7996 MB / 0.5828 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.4549, allocations: 1.887 MB / 0.5846 GB, free: 8.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003924/0.4589, allocations: 2.447 MB / 0.587 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001628/0.4605, allocations: 404 kB / 0.5874 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.4632, allocations: 0.6286 MB / 0.588 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.4649, allocations: 0.9728 MB / 0.589 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003719/0.4687, allocations: 2.02 MB / 0.5909 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007341/0.476, allocations: 5.271 MB / 0.5961 GB, free: 12.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.476, allocations: 0 / 0.5961 GB, free: 12.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.4761, allocations: 0 / 0.5961 GB, free: 12.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001099/0.4762, allocations: 4 kB / 0.5961 GB, free: 12.34 MB / 414.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.04963/0.5258, allocations: 9.514 MB / 0.6054 GB, free: 2.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.5259, allocations: 19.92 kB / 0.6054 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001046/0.527, allocations: 282.5 kB / 0.6057 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.5393, allocations: 1.755 MB / 0.6074 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006625/0.546, allocations: 2.167 MB / 0.6095 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001019/0.5471, allocations: 0.674 MB / 0.6102 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/0.5484, allocations: 243.8 kB / 0.6104 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008518/0.5569, allocations: 2.685 MB / 0.613 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.356e-05/0.557, allocations: 0 / 0.613 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005602/0.5576, allocations: 76 kB / 0.6131 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-05/0.5577, allocations: 44 kB / 0.6131 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00721/0.5649, allocations: 2.838 MB / 0.6159 GB, free: 7.801 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.02452/0.5894, allocations: 11.06 MB / 0.6267 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/0.6022, allocations: 4.968 MB / 0.6315 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004226/0.6064, allocations: 1.931 MB / 0.6334 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/0.6068, allocations: 45.95 kB / 0.6335 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.6069, allocations: 56.56 kB / 0.6335 GB, free: 4.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 5.45e-06/0.6069, allocations: 4 kB / 0.6335 GB, free: 4.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1281/0.7349, allocations: 29.56 MB / 0.6624 GB, free: 7.352 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.7351, allocations: 77.41 kB / 0.6625 GB, free: 7.266 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007021/0.7421, allocations: 2.902 MB / 0.6653 GB, free: 4.363 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001095/0.7433, allocations: 85.7 kB / 0.6654 GB, free: 4.273 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.7449, allocations: 1.256 MB / 0.6666 GB, free: 3.004 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002028/0.747, allocations: 0.9013 MB / 0.6675 GB, free: 2.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003834/0.7508, allocations: 0.7483 MB / 0.6682 GB, free: 1.328 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.751, allocations: 305.1 kB / 0.6685 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005995/0.757, allocations: 2.277 MB / 0.6707 GB, free: 14.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006166/0.7632, allocations: 2.679 MB / 0.6734 GB, free: 11.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/0.7744, allocations: 4.862 MB / 0.6781 GB, free: 7.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-05/0.7745, allocations: 0 / 0.6781 GB, free: 7.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01887/0.7934, allocations: 7.224 MB / 0.6852 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.7934, allocations: 10.81 kB / 0.6852 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.7935, allocations: 8 kB / 0.6852 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01992/0.8134, allocations: 5.741 MB / 0.6908 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003839/0.8173, allocations: 0.6593 MB / 0.6914 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/0.8332, allocations: 5.45 MB / 0.6968 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005926/0.8391, allocations: 0.504 MB / 0.6972 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009406/0.8401, allocations: 140 kB / 0.6974 GB, free: 3.242 MB / 0.4981 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.002446/0.8426, allocations: 0.5323 MB / 0.6979 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/0.844, allocations: 331.7 kB / 0.6982 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03627/0.8803, allocations: 10.51 MB / 0.7085 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.791e-05/0.8804, allocations: 31.94 kB / 0.7085 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.8804, allocations: 0 / 0.7085 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.895e-05/0.8805, allocations: 15.94 kB / 0.7085 GB, free: 7.734 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.4104/1.291, allocations: 14.65 MB / 0.7228 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.051e-05/1.291, allocations: 0 / 0.7228 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/1.293, allocations: 256.8 kB / 0.7231 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01673/1.31, allocations: 4.767 MB / 0.7277 GB, free: 135.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000669/1.31, allocations: 56.36 kB / 0.7278 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05035/1.361, allocations: 21.47 MB / 0.7488 GB, free: 126.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.361, allocations: 0 / 0.7488 GB, free: 126.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03711/1.398, allocations: 12.82 MB / 0.7613 GB, free: 117.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/1.4, allocations: 494.3 kB / 0.7618 GB, free: 116.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001425/1.401, allocations: 52 kB / 0.7618 GB, free: 116.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004019/1.405, allocations: 247.7 kB / 0.762 GB, free: 116.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00197/1.407, allocations: 0.5179 MB / 0.7625 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/1.407, allocations: 67.92 kB / 0.7626 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002383/1.41, allocations: 1.877 MB / 0.7644 GB, free: 113.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.31e-07/1.41, allocations: 0 / 0.7644 GB, free: 113.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003183/1.413, allocations: 1.126 MB / 0.7655 GB, free: 112.8 MB / 0.5137 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.03514/1.448, allocations: 13.23 MB / 0.7785 GB, free: 99.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01849/1.467, allocations: 6.223 MB / 0.7845 GB, free: 93.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.467, allocations: 4 kB / 0.7845 GB, free: 93.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/1.477, allocations: 3.787 MB / 0.7882 GB, free: 89.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/1.48, allocations: 260.9 kB / 0.7885 GB, free: 89.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08264/1.563, allocations: 44.33 MB / 0.8318 GB, free: 41.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.564, allocations: 1.849 MB / 0.8336 GB, free: 39.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00155/1.565, allocations: 292.9 kB / 0.8339 GB, free: 39.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/1.567, allocations: 1.394 MB / 0.8352 GB, free: 38.18 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/1.567, allocations: 0 / 0.8352 GB, free: 38.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.26/2.827, allocations: 85.96 MB / 0.9192 GB, free: 316 kB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/2.828, allocations: 214 kB / 0.9194 GB, free: 60 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.627/8.454, allocations: 0 / 0.9194 GB, free: 60 kB / 0.5606 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)