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.09214/0.09214, allocations: 12.21 MB / 27.48 MB, free: 0.9297 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.0008669/0.000867, allocations: 99.52 kB / 31 MB, free: 4.531 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.364/1.364, allocations: 205.4 MB / 239.8 MB, free: 11.45 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.001045/0.001045, allocations: 184.5 kB / 291 MB, free: 13.29 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4536/0.4536, allocations: 78.53 MB / 420.5 MB, free: 48.57 MB / 334.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.0008495/0.0008495, allocations: 29.12 kB / 0.4902 GB, free: 2.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3968, allocations: 69.22 MB / 0.5578 GB, free: 43.38 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01287/0.4097, allocations: 15.11 MB / 0.5725 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009935/0.4197, allocations: 4.66 MB / 0.5771 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/0.4228, allocations: 32.97 kB / 0.5771 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.4246, allocations: 0.6121 MB / 0.5777 GB, free: 30.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006422/0.431, allocations: 2.175 MB / 0.5799 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.4336, allocations: 1.235 MB / 0.5811 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005615/0.4392, allocations: 4.614 MB / 0.5856 GB, free: 26.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.4404, allocations: 0.7006 MB / 0.5862 GB, free: 26.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.4429, allocations: 1.606 MB / 0.5878 GB, free: 25.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003512/0.4464, allocations: 2.197 MB / 0.59 GB, free: 24.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.4478, allocations: 186.1 kB / 0.5901 GB, free: 24.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.4498, allocations: 407.8 kB / 0.5905 GB, free: 24.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006246/0.4505, allocations: 0.7539 MB / 0.5913 GB, free: 24.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.4521, allocations: 1.786 MB / 0.593 GB, free: 22.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003711/0.4558, allocations: 5.003 MB / 0.5979 GB, free: 21.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4558, allocations: 3.094 kB / 0.5979 GB, free: 21.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4558, allocations: 0 / 0.5979 GB, free: 21.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.451e-05/0.4559, allocations: 3.938 kB / 0.5979 GB, free: 21.14 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.03648/0.4924, allocations: 9.082 MB / 0.6068 GB, free: 18.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4925, allocations: 13.64 kB / 0.6068 GB, free: 18.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001255/0.4937, allocations: 282.4 kB / 0.6071 GB, free: 18.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.5054, allocations: 1.76 MB / 0.6088 GB, free: 17.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004399/0.5098, allocations: 2.177 MB / 0.6109 GB, free: 16.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007032/0.5105, allocations: 0.6944 MB / 0.6116 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004884/0.511, allocations: 238.4 kB / 0.6118 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006164/0.5172, allocations: 2.869 MB / 0.6146 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.5172, allocations: 0 / 0.6146 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/0.5175, allocations: 84.06 kB / 0.6147 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/0.5175, allocations: 46.06 kB / 0.6147 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006445/0.524, allocations: 3.024 MB / 0.6177 GB, free: 12.82 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.01782/0.5418, allocations: 11.21 MB / 0.6286 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/0.554, allocations: 5.678 MB / 0.6342 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004501/0.5585, allocations: 2.107 MB / 0.6362 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.5588, allocations: 49.95 kB / 0.6363 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.5589, allocations: 60.55 kB / 0.6363 GB, free: 10.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 3.637e-06/0.5589, allocations: 0 / 0.6363 GB, free: 10.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1393/0.6981, allocations: 35.71 MB / 0.6712 GB, free: 7.059 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.6982, allocations: 85.41 kB / 0.6713 GB, free: 6.965 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005903/0.7042, allocations: 2.902 MB / 0.6741 GB, free: 4.062 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001004/0.7052, allocations: 81.7 kB / 0.6742 GB, free: 3.977 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.7066, allocations: 1.256 MB / 0.6754 GB, free: 2.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001704/0.7084, allocations: 0.9052 MB / 0.6763 GB, free: 1.789 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001377/0.7097, allocations: 394.6 kB / 0.6767 GB, free: 1.395 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.7099, allocations: 301.1 kB / 0.677 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006161/0.716, allocations: 2.464 MB / 0.6794 GB, free: 14.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006322/0.7224, allocations: 2.86 MB / 0.6822 GB, free: 11.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/0.734, allocations: 5.21 MB / 0.6873 GB, free: 6.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/0.7341, allocations: 0 / 0.6873 GB, free: 6.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01932/0.7534, allocations: 7.771 MB / 0.6948 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.7534, allocations: 8 kB / 0.6949 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.7535, allocations: 8.031 kB / 0.6949 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02079/0.7743, allocations: 6.562 MB / 0.7013 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003509/0.7778, allocations: 0.6671 MB / 0.7019 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01524/0.7931, allocations: 6.15 MB / 0.7079 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005406/0.7985, allocations: 0.5977 MB / 0.7085 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007615/0.7993, allocations: 140 kB / 0.7086 GB, free: 440 kB / 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.001957/0.8012, allocations: 0.5288 MB / 0.7092 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/0.8024, allocations: 335.7 kB / 0.7095 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03895/0.8414, allocations: 12.86 MB / 0.722 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/0.8414, allocations: 35.92 kB / 0.7221 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.8414, allocations: 0 / 0.7221 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/0.8415, allocations: 11.95 kB / 0.7221 GB, free: 2.578 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.04508/0.8866, allocations: 17 MB / 0.7387 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.8866, allocations: 0 / 0.7387 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.8881, allocations: 259.6 kB / 0.7389 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01704/0.9051, allocations: 5.577 MB / 0.7444 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000309/0.9055, allocations: 55.98 kB / 0.7444 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05551/0.961, allocations: 22.04 MB / 0.766 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.961, allocations: 0 / 0.766 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2749/1.236, allocations: 15.34 MB / 0.7809 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.238, allocations: 0.4931 MB / 0.7814 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/1.239, allocations: 50.91 kB / 0.7815 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004144/1.243, allocations: 341.7 kB / 0.7818 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002226/1.245, allocations: 0.5113 MB / 0.7823 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004842/1.246, allocations: 67.19 kB / 0.7824 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003867/1.25, allocations: 1.874 MB / 0.7842 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/1.25, allocations: 0 / 0.7842 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004879/1.255, allocations: 1.118 MB / 0.7853 GB, free: 170.9 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.04389/1.299, allocations: 15.71 MB / 0.8006 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02017/1.319, allocations: 6.824 MB / 0.8073 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.319, allocations: 0 / 0.8073 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01177/1.331, allocations: 4.282 MB / 0.8115 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004088/1.335, allocations: 270.3 kB / 0.8117 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09188/1.427, allocations: 46.84 MB / 0.8575 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/1.428, allocations: 1.846 MB / 0.8593 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001517/1.43, allocations: 292.9 kB / 0.8596 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001893/1.432, allocations: 1.382 MB / 0.8609 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/1.432, allocations: 0 / 0.8609 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/1.537, allocations: 81.04 MB / 0.94 GB, free: 34.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/1.537, allocations: 220.4 kB / 0.9403 GB, free: 34.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.091/5.629, allocations: 3.938 kB / 0.9403 GB, free: 34.46 MB / 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)