Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_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.0006846/0.0006847, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.293/1.293, allocations: 223.3 MB / 239.4 MB, free: 5.492 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.001032/0.001033, allocations: 176.5 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4819/0.4819, allocations: 78.55 MB / 420.3 MB, free: 4.242 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 8 kB / 0.4887 GB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 69.36 MB / 0.5565 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2907/0.4414, allocations: 15.06 MB / 0.5712 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009232/0.4507, allocations: 4.671 MB / 0.5758 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/0.4537, allocations: 34.31 kB / 0.5758 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.4553, allocations: 0.6191 MB / 0.5764 GB, free: 27.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005657/0.461, allocations: 2.175 MB / 0.5785 GB, free: 27.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.4639, allocations: 1.231 MB / 0.5797 GB, free: 27.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004992/0.4689, allocations: 4.614 MB / 0.5842 GB, free: 25.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009172/0.4698, allocations: 0.6951 MB / 0.5849 GB, free: 25.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.4717, allocations: 1.611 MB / 0.5865 GB, free: 24.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.4735, allocations: 2.199 MB / 0.5886 GB, free: 23.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.4739, allocations: 186.2 kB / 0.5888 GB, free: 23.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008641/0.4747, allocations: 410.7 kB / 0.5892 GB, free: 23.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005046/0.4753, allocations: 0.7421 MB / 0.5899 GB, free: 22.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.4766, allocations: 1.79 MB / 0.5917 GB, free: 21.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.4809, allocations: 5.001 MB / 0.5965 GB, free: 20.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4809, allocations: 8 kB / 0.5966 GB, free: 20.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4809, allocations: 0 / 0.5966 GB, free: 20.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.599e-05/0.481, allocations: 0 / 0.5966 GB, free: 20.09 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.03791/0.5189, allocations: 9.073 MB / 0.6054 GB, free: 17.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.519, allocations: 11.27 kB / 0.6054 GB, free: 17.42 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001004/0.52, allocations: 286.2 kB / 0.6057 GB, free: 17.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.5312, allocations: 1.769 MB / 0.6074 GB, free: 16.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004125/0.5353, allocations: 2.176 MB / 0.6096 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007115/0.536, allocations: 0.6915 MB / 0.6102 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004592/0.5365, allocations: 239.5 kB / 0.6105 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006226/0.5427, allocations: 2.862 MB / 0.6132 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.5428, allocations: 0 / 0.6132 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.543, allocations: 84.5 kB / 0.6133 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.5431, allocations: 46.03 kB / 0.6134 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006529/0.5496, allocations: 3.031 MB / 0.6163 GB, free: 12.84 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.01711/0.5667, allocations: 11.2 MB / 0.6273 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/0.5783, allocations: 5.675 MB / 0.6328 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00406/0.5824, allocations: 2.111 MB / 0.6349 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.5826, allocations: 41.97 kB / 0.6349 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.5826, allocations: 56.56 kB / 0.635 GB, free: 12.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.338e-06/0.5826, allocations: 4 kB / 0.635 GB, free: 12.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1369/0.7195, allocations: 35.73 MB / 0.6699 GB, free: 9.043 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.7197, allocations: 77.41 kB / 0.6699 GB, free: 8.957 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006271/0.7259, allocations: 2.906 MB / 0.6728 GB, free: 6.051 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009713/0.7269, allocations: 85.7 kB / 0.6729 GB, free: 5.961 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.7284, allocations: 1.256 MB / 0.6741 GB, free: 4.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001565/0.7299, allocations: 0.9013 MB / 0.675 GB, free: 3.777 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.7311, allocations: 391.7 kB / 0.6753 GB, free: 3.387 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.7313, allocations: 305.1 kB / 0.6756 GB, free: 3.086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006509/0.7378, allocations: 2.46 MB / 0.678 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007036/0.7449, allocations: 2.86 MB / 0.6808 GB, free: 13.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/0.7567, allocations: 5.21 MB / 0.6859 GB, free: 8.367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/0.7568, allocations: 4 kB / 0.6859 GB, free: 8.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.0186/0.7754, allocations: 7.767 MB / 0.6935 GB, free: 0.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.7754, allocations: 4 kB / 0.6935 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.7755, allocations: 11.94 kB / 0.6935 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02023/0.7957, allocations: 6.566 MB / 0.6999 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/0.7992, allocations: 0.667 MB / 0.7006 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/0.8139, allocations: 6.153 MB / 0.7066 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005543/0.8194, allocations: 0.5918 MB / 0.7072 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007507/0.8202, allocations: 140 kB / 0.7073 GB, free: 2.422 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.001982/0.8222, allocations: 0.5285 MB / 0.7078 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/0.8234, allocations: 328.8 kB / 0.7081 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0377/0.8612, allocations: 12.87 MB / 0.7207 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/0.8612, allocations: 31.94 kB / 0.7207 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.8612, allocations: 0 / 0.7207 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.006e-05/0.8613, allocations: 11.95 kB / 0.7207 GB, free: 4.566 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.04582/0.9071, allocations: 17 MB / 0.7373 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/0.9072, allocations: 1.438 kB / 0.7373 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/0.909, allocations: 255.6 kB / 0.7376 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01757/0.9266, allocations: 5.581 MB / 0.743 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007455/0.9273, allocations: 55.92 kB / 0.7431 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0573/0.9847, allocations: 22.03 MB / 0.7646 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.9847, allocations: 4 kB / 0.7646 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3533/1.338, allocations: 15.34 MB / 0.7796 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/1.34, allocations: 0.4935 MB / 0.7801 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005518/1.34, allocations: 42.94 kB / 0.7801 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003003/1.343, allocations: 343.3 kB / 0.7804 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001777/1.345, allocations: 0.5081 MB / 0.7809 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.345, allocations: 67.14 kB / 0.781 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002454/1.348, allocations: 1.878 MB / 0.7828 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4e-07/1.348, allocations: 0 / 0.7828 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002948/1.351, allocations: 1.122 MB / 0.7839 GB, free: 165.3 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.04457/1.395, allocations: 15.71 MB / 0.7993 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02035/1.416, allocations: 6.827 MB / 0.8059 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.416, allocations: 0 / 0.8059 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01293/1.429, allocations: 4.28 MB / 0.8101 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/1.432, allocations: 266 kB / 0.8104 GB, free: 162 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08037/1.513, allocations: 46.84 MB / 0.8561 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.514, allocations: 1.842 MB / 0.8579 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001546/1.516, allocations: 290.4 kB / 0.8582 GB, free: 120 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/1.517, allocations: 1.386 MB / 0.8595 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.774e-06/1.517, allocations: 1.125 kB / 0.8595 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/1.622, allocations: 81.04 MB / 0.9387 GB, free: 37.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/1.622, allocations: 221.6 kB / 0.9389 GB, free: 37.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.889/5.511, allocations: 4 kB / 0.9389 GB, free: 37.57 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)