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.0008115/0.0008117, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.498/1.498, allocations: 223.2 MB / 239 MB, free: 5.559 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.001493/0.001494, allocations: 168.6 kB / 290.3 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5779/0.5779, allocations: 78.56 MB / 419.9 MB, free: 4.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004391, allocations: 12 kB / 499.9 MB, free: 6.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1996, allocations: 69.36 MB / 0.5559 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.4393/0.639, allocations: 14 MB / 0.5696 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.6519, allocations: 4.465 MB / 0.5739 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004975/0.6569, allocations: 32.78 kB / 0.574 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002959/0.6599, allocations: 0.5354 MB / 0.5745 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009712/0.6696, allocations: 2.006 MB / 0.5764 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.6734, allocations: 1.099 MB / 0.5775 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009324/0.6827, allocations: 4.348 MB / 0.5818 GB, free: 27.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.6849, allocations: 0.6641 MB / 0.5824 GB, free: 27.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004159/0.6891, allocations: 1.549 MB / 0.5839 GB, free: 26.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004767/0.6939, allocations: 2.146 MB / 0.586 GB, free: 25.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.6958, allocations: 184.7 kB / 0.5862 GB, free: 25.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.6989, allocations: 396.8 kB / 0.5866 GB, free: 25.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.701, allocations: 0.7287 MB / 0.5873 GB, free: 24.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002108/0.7031, allocations: 0.6053 MB / 0.5879 GB, free: 24.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005203/0.7083, allocations: 4.063 MB / 0.5918 GB, free: 23.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.7083, allocations: 0 / 0.5918 GB, free: 23.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.7083, allocations: 0 / 0.5918 GB, free: 23.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001452/0.7085, allocations: 0 / 0.5918 GB, free: 23.52 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.0412/0.7497, allocations: 9.124 MB / 0.6007 GB, free: 20.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.433e-05/0.7498, allocations: 9.938 kB / 0.6008 GB, free: 20.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002185/0.752, allocations: 283.5 kB / 0.601 GB, free: 20.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01336/0.7654, allocations: 1.768 MB / 0.6028 GB, free: 20.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009033/0.7745, allocations: 2.056 MB / 0.6048 GB, free: 19.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00118/0.7757, allocations: 0.6918 MB / 0.6054 GB, free: 18.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/0.7776, allocations: 244.3 kB / 0.6057 GB, free: 18.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.7891, allocations: 2.851 MB / 0.6085 GB, free: 17.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.216e-05/0.7892, allocations: 2.438 kB / 0.6085 GB, free: 17.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006306/0.7898, allocations: 75.56 kB / 0.6085 GB, free: 17.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.7899, allocations: 51.62 kB / 0.6086 GB, free: 17.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009299/0.7993, allocations: 3.016 MB / 0.6115 GB, free: 16.38 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.03094/0.8302, allocations: 11.2 MB / 0.6225 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.8429, allocations: 5.663 MB / 0.628 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003979/0.8469, allocations: 2.095 MB / 0.63 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003662/0.8473, allocations: 45.95 kB / 0.6301 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.8474, allocations: 56.56 kB / 0.6301 GB, free: 1.621 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 7.584e-06/0.8474, allocations: 2.906 kB / 0.6301 GB, free: 1.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1241/0.9715, allocations: 35.43 MB / 0.6647 GB, free: 14.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/0.9717, allocations: 77.41 kB / 0.6648 GB, free: 14.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007149/0.9789, allocations: 2.874 MB / 0.6676 GB, free: 11.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00149/0.9804, allocations: 85.7 kB / 0.6677 GB, free: 11.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.9815, allocations: 1.256 MB / 0.6689 GB, free: 9.801 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001406/0.9829, allocations: 0.9052 MB / 0.6698 GB, free: 8.883 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/0.9833, allocations: 80 kB / 0.6699 GB, free: 8.805 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.9835, allocations: 462.9 kB / 0.6703 GB, free: 8.344 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004915/0.9884, allocations: 2.445 MB / 0.6727 GB, free: 5.891 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005079/0.9935, allocations: 2.845 MB / 0.6755 GB, free: 2.953 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005029/0.9986, allocations: 2.636 MB / 0.6781 GB, free: 324 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.9986, allocations: 3.953 kB / 0.6781 GB, free: 320 kB / 478.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01563/1.014, allocations: 7.697 MB / 0.6856 GB, free: 8.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/1.014, allocations: 8 kB / 0.6856 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/1.014, allocations: 4.688 kB / 0.6856 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01814/1.032, allocations: 6.499 MB / 0.6919 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003958/1.036, allocations: 0.6679 MB / 0.6926 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/1.05, allocations: 6.147 MB / 0.6986 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006487/1.057, allocations: 0.5938 MB / 0.6992 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006328/1.057, allocations: 136 kB / 0.6993 GB, free: 10.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.001811/1.059, allocations: 0.5207 MB / 0.6998 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008969/1.06, allocations: 335.7 kB / 0.7001 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03388/1.094, allocations: 12.85 MB / 0.7127 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.954e-05/1.094, allocations: 32 kB / 0.7127 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.094, allocations: 0 / 0.7127 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.828e-05/1.094, allocations: 11.95 kB / 0.7127 GB, free: 12.68 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.04235/1.137, allocations: 16.97 MB / 0.7293 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.061e-05/1.137, allocations: 1.125 kB / 0.7293 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.139, allocations: 259.6 kB / 0.7295 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01606/1.155, allocations: 5.577 MB / 0.735 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000795/1.156, allocations: 55.98 kB / 0.735 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05115/1.207, allocations: 22 MB / 0.7565 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.207, allocations: 4.562 kB / 0.7565 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4533/1.66, allocations: 15.31 MB / 0.7715 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002121/1.662, allocations: 0.4913 MB / 0.772 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/1.664, allocations: 51 kB / 0.772 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003113/1.667, allocations: 336.3 kB / 0.7723 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001935/1.669, allocations: 0.5195 MB / 0.7728 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/1.669, allocations: 61.52 kB / 0.7729 GB, free: 163 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003322/1.672, allocations: 1.852 MB / 0.7747 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/1.672, allocations: 0 / 0.7747 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004/1.676, allocations: 1.126 MB / 0.7758 GB, free: 162.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.04061/1.717, allocations: 15.68 MB / 0.7911 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02207/1.739, allocations: 6.807 MB / 0.7978 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.739, allocations: 0 / 0.7978 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01344/1.752, allocations: 4.266 MB / 0.8019 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/1.756, allocations: 272 kB / 0.8022 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06894/1.825, allocations: 29.99 MB / 0.8315 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/1.827, allocations: 1.846 MB / 0.8333 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002049/1.829, allocations: 290.7 kB / 0.8336 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001905/1.831, allocations: 1.382 MB / 0.8349 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.883e-06/1.831, allocations: 0 / 0.8349 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/1.973, allocations: 81.25 MB / 0.9142 GB, free: 64.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/1.973, allocations: 202.9 kB / 0.9144 GB, free: 64.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.277/7.251, allocations: 0 / 0.9144 GB, free: 64.01 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/linux/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) Environment - environmentSimulation: