Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_release_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.001514/0.001514, 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.352/1.352, allocations: 221.5 MB / 229.6 MB, free: 3.184 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.0009534/0.0009532, allocations: 90.98 kB / 280.5 MB, free: 1.141 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4958/0.4958, allocations: 78.12 MB / 409.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.941e-05, allocations: 4 kB / 485 MB, free: 4.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3488, allocations: 69.35 MB / 0.5414 GB, free: 21.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.4773, allocations: 103.3 MB / 0.6422 GB, free: 1.398 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4775, allocations: 75.95 kB / 0.6423 GB, free: 1.324 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.505/0.9826, allocations: 94.49 MB / 0.7346 GB, free: 74.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.9826, allocations: 0 / 0.7346 GB, free: 74.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001289/0.9828, allocations: 57.42 kB / 0.7346 GB, free: 74.08 MB / 490.7 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.01024/0.993, allocations: 3.926 MB / 0.7385 GB, free: 70.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.9931, allocations: 8.031 kB / 0.7385 GB, free: 70.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00737/1, allocations: 1.277 MB / 0.7397 GB, free: 68.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003371/1.004, allocations: 1.83 MB / 0.7415 GB, free: 66.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005404/1.004, allocations: 0.5989 MB / 0.7421 GB, free: 66.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/1.005, allocations: 119.9 kB / 0.7422 GB, free: 66.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003522/1.008, allocations: 2.206 MB / 0.7444 GB, free: 63.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/1.012, allocations: 1.945 MB / 0.7463 GB, free: 62.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/1.012, allocations: 0 / 0.7463 GB, free: 62.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/1.012, allocations: 0 / 0.7463 GB, free: 62.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/1.012, allocations: 48 kB / 0.7463 GB, free: 61.98 MB / 490.7 MB 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.01778/1.03, allocations: 10.31 MB / 0.7564 GB, free: 51.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009304/1.039, allocations: 4.766 MB / 0.761 GB, free: 46.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/1.041, allocations: 1.428 MB / 0.7624 GB, free: 44.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/1.041, allocations: 45.94 kB / 0.7625 GB, free: 44.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/1.041, allocations: 60.56 kB / 0.7625 GB, free: 44.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 4.068e-06/1.041, allocations: 0 / 0.7625 GB, free: 44.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.02883/1.07, allocations: 10.63 MB / 0.7729 GB, free: 33.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/1.07, allocations: 77.41 kB / 0.773 GB, free: 33.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/1.073, allocations: 2.166 MB / 0.7751 GB, free: 31.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005418/1.074, allocations: 29.7 kB / 0.7751 GB, free: 31.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007183/1.074, allocations: 1.379 MB / 0.7765 GB, free: 30.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008802/1.075, allocations: 0.8311 MB / 0.7773 GB, free: 29.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/1.075, allocations: 0 / 0.7773 GB, free: 29.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/1.075, allocations: 390.5 kB / 0.7777 GB, free: 29.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/1.077, allocations: 1.125 MB / 0.7788 GB, free: 27.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/1.079, allocations: 1.368 MB / 0.7801 GB, free: 26.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/1.081, allocations: 1.245 MB / 0.7813 GB, free: 25.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.081, allocations: 0 / 0.7813 GB, free: 25.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006488/1.087, allocations: 3.938 MB / 0.7852 GB, free: 21.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.087, allocations: 8 kB / 0.7852 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.087, allocations: 4 kB / 0.7852 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01473/1.102, allocations: 5.003 MB / 0.7901 GB, free: 16.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.103, allocations: 295.6 kB / 0.7903 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008922/1.112, allocations: 4.8 MB / 0.795 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004679/1.117, allocations: 413.9 kB / 0.7954 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004974/1.118, allocations: 79.98 kB / 0.7955 GB, free: 10.62 MB / 490.7 MB 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.000523/1.118, allocations: 136.6 kB / 0.7956 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03064/1.149, allocations: 10.63 MB / 0.806 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001699/1.151, allocations: 339.7 kB / 0.8063 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03265/1.183, allocations: 10.9 MB / 0.817 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/1.183, allocations: 24 kB / 0.817 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.183, allocations: 4 kB / 0.817 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.1e-05/1.184, allocations: 11.95 kB / 0.817 GB, free: 4.48 MB / 0.4948 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.03758/1.221, allocations: 14.84 MB / 0.8315 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/1.221, allocations: 0 / 0.8315 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/1.223, allocations: 260.2 kB / 0.8318 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01412/1.237, allocations: 4.383 MB / 0.836 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006157/1.238, allocations: 15.98 kB / 0.8361 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0362/1.274, allocations: 16.25 MB / 0.8519 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.274, allocations: 0 / 0.8519 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03923/1.313, allocations: 12.83 MB / 0.8645 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.315, allocations: 0.504 MB / 0.865 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008086/1.316, allocations: 0 / 0.865 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/1.319, allocations: 303.7 kB / 0.8652 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001717/1.321, allocations: 0.5179 MB / 0.8657 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/1.321, allocations: 67.98 kB / 0.8658 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002755/1.324, allocations: 1.63 MB / 0.8674 GB, free: 372 kB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/1.324, allocations: 0 / 0.8674 GB, free: 372 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003515/1.328, allocations: 0.8816 MB / 0.8683 GB, free: 15.48 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.03801/1.366, allocations: 13.51 MB / 0.8815 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3166/1.682, allocations: 4.459 MB / 0.8858 GB, free: 154.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.682, allocations: 0 / 0.8858 GB, free: 154.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01082/1.693, allocations: 3.553 MB / 0.8893 GB, free: 154.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/1.696, allocations: 212.9 kB / 0.8895 GB, free: 154.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/1.708, allocations: 5.374 MB / 0.8947 GB, free: 153.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.709, allocations: 1.91 MB / 0.8966 GB, free: 152.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001425/1.711, allocations: 236 kB / 0.8968 GB, free: 152.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/1.713, allocations: 1.356 MB / 0.8981 GB, free: 152.2 MB / 0.5573 GB Notification: Performance of SimCode: time 8.71e-07/1.713, allocations: 0 / 0.8981 GB, free: 152.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/1.832, allocations: 72.52 MB / 0.969 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.833, allocations: 141 kB / 0.9691 GB, free: 111 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.973/6.805, allocations: 3 kB / 0.9691 GB, free: 111 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)