Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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.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 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_PSAT,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",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.005804/0.005804, allocations: 171.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009277/0.0009278, allocations: 94.94 kB / 290.2 MB, free: 4.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4645/0.4645, allocations: 78.52 MB / 419.8 MB, free: 36.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004483, allocations: 12 kB / 499.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1694, allocations: 69.35 MB / 0.5558 GB, free: 1.707 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4193/0.5888, allocations: 100 MB / 0.6535 GB, free: 2.141 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.5891, allocations: 78.47 kB / 0.6536 GB, free: 2.102 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1871/0.7762, allocations: 73.58 MB / 0.7254 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7763, allocations: 3.938 kB / 0.7254 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001467/0.7764, allocations: 52 kB / 0.7255 GB, free: 8.688 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.01278/0.7892, allocations: 4.251 MB / 0.7296 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.7893, allocations: 8.031 kB / 0.7296 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009434/0.7902, allocations: 261.8 kB / 0.7299 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009122/0.7994, allocations: 1.475 MB / 0.7313 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004498/0.8039, allocations: 1.748 MB / 0.733 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004559/0.8044, allocations: 454.8 kB / 0.7334 GB, free: 312 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004264/0.8048, allocations: 179.9 kB / 0.7336 GB, free: 132 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00475/0.8096, allocations: 2.395 MB / 0.736 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.8096, allocations: 4 kB / 0.736 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.8099, allocations: 72 kB / 0.736 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.8099, allocations: 43.95 kB / 0.7361 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004643/0.8145, allocations: 2.423 MB / 0.7384 GB, free: 11.18 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.01812/0.8327, allocations: 9.538 MB / 0.7478 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/0.8435, allocations: 4.727 MB / 0.7524 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005124/0.8441, allocations: 41.83 kB / 0.7524 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.8441, allocations: 60.56 kB / 0.7525 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=223): time 5.47e-06/0.8441, allocations: 0 / 0.7525 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.09626/0.9404, allocations: 23.26 MB / 0.7752 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.9405, allocations: 73.41 kB / 0.7752 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004131/0.9447, allocations: 2.271 MB / 0.7775 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007058/0.9454, allocations: 61.7 kB / 0.7775 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.9464, allocations: 1.225 MB / 0.7787 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.9475, allocations: 0.7776 MB / 0.7795 GB, free: 376 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.9477, allocations: 40 kB / 0.7795 GB, free: 336 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000231/0.9479, allocations: 390.1 kB / 0.7799 GB, free: 15.94 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/0.9508, allocations: 1.421 MB / 0.7813 GB, free: 14.52 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003041/0.9539, allocations: 1.682 MB / 0.7829 GB, free: 12.74 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.9568, allocations: 1.554 MB / 0.7844 GB, free: 11.19 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.9569, allocations: 0 / 0.7844 GB, free: 11.19 MB / 0.573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.02035/0.9772, allocations: 7.107 MB / 0.7914 GB, free: 4.016 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.9773, allocations: 8 kB / 0.7914 GB, free: 4.008 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.9773, allocations: 15.52 kB / 0.7914 GB, free: 3.996 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01472/0.9921, allocations: 3.823 MB / 0.7951 GB, free: 128 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3104/1.303, allocations: 1.494 MB / 0.7966 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03023/1.333, allocations: 19.55 MB / 0.8157 GB, free: 112.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004158/1.337, allocations: 373 kB / 0.816 GB, free: 112.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000463/1.338, allocations: 76.84 kB / 0.8161 GB, free: 112.2 MB / 0.573 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.001496/1.339, allocations: 465.6 kB / 0.8166 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.34, allocations: 310.9 kB / 0.8169 GB, free: 111.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02766/1.368, allocations: 9.643 MB / 0.8263 GB, free: 111.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.473e-05/1.368, allocations: 22.09 kB / 0.8263 GB, free: 111.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.368, allocations: 3.938 kB / 0.8263 GB, free: 111.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-05/1.368, allocations: 10.27 kB / 0.8263 GB, free: 111.7 MB / 0.573 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.03199/1.4, allocations: 13.59 MB / 0.8396 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/1.4, allocations: 1.312 kB / 0.8396 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/1.402, allocations: 224.5 kB / 0.8398 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01389/1.416, allocations: 4.674 MB / 0.8444 GB, free: 110 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006314/1.416, allocations: 46.33 kB / 0.8444 GB, free: 110 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04153/1.458, allocations: 17.55 MB / 0.8615 GB, free: 106 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.458, allocations: 0.8906 kB / 0.8615 GB, free: 106 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03189/1.49, allocations: 11.73 MB / 0.873 GB, free: 102.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/1.492, allocations: 475.7 kB / 0.8734 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001599/1.493, allocations: 43.38 kB / 0.8735 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003743/1.497, allocations: 216.3 kB / 0.8737 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001536/1.499, allocations: 380.8 kB / 0.8741 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.499, allocations: 60.34 kB / 0.8741 GB, free: 102.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002898/1.502, allocations: 1.752 MB / 0.8758 GB, free: 101.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.502, allocations: 0 / 0.8758 GB, free: 101.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004278/1.506, allocations: 0.9988 MB / 0.8768 GB, free: 101.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * 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 (136): * Single equations (assignments): 135 * 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 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.02993/1.536, allocations: 12.51 MB / 0.889 GB, free: 97.76 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01406/1.55, allocations: 6.24 MB / 0.8951 GB, free: 94.61 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.55, allocations: 4.125 kB / 0.8951 GB, free: 94.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01053/1.561, allocations: 3.668 MB / 0.8987 GB, free: 93.41 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/1.564, allocations: 212.6 kB / 0.8989 GB, free: 93.27 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0578/1.621, allocations: 30.89 MB / 0.9291 GB, free: 65.46 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/1.623, allocations: 1.823 MB / 0.9309 GB, free: 64.03 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001501/1.624, allocations: 204.2 kB / 0.931 GB, free: 63.89 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001849/1.626, allocations: 1.204 MB / 0.9322 GB, free: 62.79 MB / 0.573 GB Notification: Performance of SimCode: time 8.51e-07/1.626, allocations: 0 / 0.9322 GB, free: 62.79 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/1.733, allocations: 74.93 MB / 1.005 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/1.733, allocations: 206.1 kB / 1.006 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.245/6.978, allocations: 0 / 1.006 GB, free: 15.16 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)