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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.0009281/0.0009281, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008534/0.0008537, allocations: 91.61 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.458/0.458, allocations: 78.96 MB / 410.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.602e-05, allocations: 0 / 486 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1456, allocations: 69.52 MB / 0.5425 GB, free: 5.836 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4264/0.5721, allocations: 103.9 MB / 0.644 GB, free: 10.06 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5725, allocations: 74 kB / 0.6441 GB, free: 9.988 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2277/0.8002, allocations: 86.16 MB / 0.7282 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8003, allocations: 0 / 0.7282 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003792/0.8007, allocations: 59.94 kB / 0.7283 GB, free: 3.441 MB / 0.5261 GB 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.01479/0.8155, allocations: 3.93 MB / 0.7321 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.8156, allocations: 8.031 kB / 0.7321 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.8293, allocations: 2.149 MB / 0.7342 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006333/0.8357, allocations: 2.127 MB / 0.7363 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000857/0.8366, allocations: 0.5872 MB / 0.7369 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008152/0.8374, allocations: 123.9 kB / 0.737 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005227/0.8427, allocations: 2.206 MB / 0.7391 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005024/0.8477, allocations: 1.941 MB / 0.741 GB, free: 6.152 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.8478, allocations: 0 / 0.741 GB, free: 6.152 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/0.848, allocations: 3.953 kB / 0.741 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.853e-05/0.848, allocations: 48 kB / 0.7411 GB, free: 6.102 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.0235/0.8715, allocations: 10.87 MB / 0.7517 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00972/0.8813, allocations: 4.758 MB / 0.7563 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00234/0.8837, allocations: 1.424 MB / 0.7577 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.884, allocations: 47.08 kB / 0.7578 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.884, allocations: 60.56 kB / 0.7578 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 4.529e-06/0.884, allocations: 0 / 0.7578 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.3821/1.266, allocations: 10.63 MB / 0.7682 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/1.266, allocations: 75.75 kB / 0.7683 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/1.27, allocations: 2.516 MB / 0.7708 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006902/1.271, allocations: 25.7 kB / 0.7708 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009404/1.272, allocations: 1.363 MB / 0.7721 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001041/1.273, allocations: 0.8368 MB / 0.7729 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/1.273, allocations: 2.781 kB / 0.7729 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.273, allocations: 387 kB / 0.7733 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/1.275, allocations: 1.124 MB / 0.7744 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/1.277, allocations: 1.374 MB / 0.7757 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/1.279, allocations: 1.249 MB / 0.777 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/1.279, allocations: 3.781 kB / 0.777 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007368/1.286, allocations: 3.936 MB / 0.7808 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/1.286, allocations: 7.594 kB / 0.7808 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.286, allocations: 4.875 kB / 0.7808 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01557/1.302, allocations: 4.99 MB / 0.7857 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/1.304, allocations: 304.1 kB / 0.786 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009966/1.314, allocations: 4.797 MB / 0.7907 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/1.318, allocations: 426.7 kB / 0.7911 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003835/1.319, allocations: 79.2 kB / 0.7911 GB, free: 105.2 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 169 * 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.0005068/1.319, allocations: 137.3 kB / 0.7913 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03264/1.352, allocations: 10.63 MB / 0.8017 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/1.353, allocations: 347.4 kB / 0.802 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03152/1.385, allocations: 10.9 MB / 0.8126 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/1.385, allocations: 27.34 kB / 0.8127 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.385, allocations: 0.9375 kB / 0.8127 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-05/1.385, allocations: 12.38 kB / 0.8127 GB, free: 103.5 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.03412/1.419, allocations: 15.13 MB / 0.8274 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.419, allocations: 5.469 kB / 0.8274 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.421, allocations: 260.5 kB / 0.8277 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01188/1.433, allocations: 4.387 MB / 0.832 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004022/1.433, allocations: 13.81 kB / 0.832 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0303/1.463, allocations: 16.25 MB / 0.8479 GB, free: 94.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.463, allocations: 4.516 kB / 0.8479 GB, free: 94.65 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03191/1.495, allocations: 12.84 MB / 0.8604 GB, free: 90.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.497, allocations: 0.5524 MB / 0.8609 GB, free: 90.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000671/1.497, allocations: 8 kB / 0.861 GB, free: 90.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00333/1.501, allocations: 303.8 kB / 0.8612 GB, free: 90.01 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001654/1.502, allocations: 0.5153 MB / 0.8618 GB, free: 89.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/1.503, allocations: 67.17 kB / 0.8618 GB, free: 89.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002634/1.505, allocations: 1.894 MB / 0.8637 GB, free: 87.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.112e-06/1.505, allocations: 0 / 0.8637 GB, free: 87.91 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002889/1.508, allocations: 0.9079 MB / 0.8646 GB, free: 87.05 MB / 0.5573 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 () * 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.03246/1.541, allocations: 13.5 MB / 0.8777 GB, free: 75.85 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.552, allocations: 4.459 MB / 0.8821 GB, free: 71.81 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.552, allocations: 0 / 0.8821 GB, free: 71.81 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008976/1.561, allocations: 3.546 MB / 0.8856 GB, free: 68.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/1.563, allocations: 218.5 kB / 0.8858 GB, free: 68.48 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008812/1.572, allocations: 5.385 MB / 0.891 GB, free: 63.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009508/1.573, allocations: 1.908 MB / 0.8929 GB, free: 62.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009508/1.574, allocations: 235.6 kB / 0.8931 GB, free: 62.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.575, allocations: 1.361 MB / 0.8944 GB, free: 60.86 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/1.575, allocations: 7.938 kB / 0.8944 GB, free: 60.85 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/1.683, allocations: 74.75 MB / 0.9674 GB, free: 11.39 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/1.683, allocations: 128.2 kB / 0.9676 GB, free: 11.19 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.731/6.414, allocations: 0 / 0.9676 GB, free: 11.19 MB / 0.573 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/linux/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)