Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",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.0108/0.0108, allocations: 169.8 kB / 15.11 MB, free: 5.969 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.364/1.364, allocations: 223.2 MB / 239 MB, free: 56 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.0008681/0.0008682, allocations: 100 kB / 290.2 MB, free: 4.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4652/0.4652, allocations: 78.58 MB / 419.9 MB, free: 36.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 12 kB / 499.9 MB, free: 7.203 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 69.35 MB / 0.5559 GB, free: 1.785 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5669, allocations: 99.26 MB / 0.6528 GB, free: 2.961 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.5672, allocations: 81.75 kB / 0.6529 GB, free: 2.918 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08906/0.6563, allocations: 32.23 MB / 0.6844 GB, free: 3.223 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6563, allocations: 0 / 0.6844 GB, free: 3.223 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001161/0.6564, allocations: 20 kB / 0.6844 GB, free: 3.203 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.006307/0.6628, allocations: 2.068 MB / 0.6864 GB, free: 1.074 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.6628, allocations: 8.031 kB / 0.6864 GB, free: 1.066 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000371/0.6632, allocations: 134.7 kB / 0.6865 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/0.6669, allocations: 0.5641 MB / 0.6871 GB, free: 368 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.669, allocations: 0.8212 MB / 0.6879 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.6693, allocations: 264.1 kB / 0.6881 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.6696, allocations: 83.91 kB / 0.6882 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.672, allocations: 1.151 MB / 0.6893 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.6721, allocations: 4 kB / 0.6893 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.6722, allocations: 32 kB / 0.6894 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.6722, allocations: 16 kB / 0.6894 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.6745, allocations: 1.058 MB / 0.6904 GB, free: 12.83 MB / 490.7 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.007121/0.6816, allocations: 3.854 MB / 0.6942 GB, free: 8.809 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007961/0.6896, allocations: 2.916 MB / 0.697 GB, free: 5.801 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.6897, allocations: 12.98 kB / 0.697 GB, free: 5.789 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00175/0.6915, allocations: 0.8919 MB / 0.6979 GB, free: 4.875 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.816e-06/0.6915, allocations: 0 / 0.6979 GB, free: 4.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.03003/0.7215, allocations: 8.43 MB / 0.7061 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.7216, allocations: 119.8 kB / 0.7063 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.7235, allocations: 0.9571 MB / 0.7072 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002591/0.7238, allocations: 45.7 kB / 0.7072 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/0.7242, allocations: 0.517 MB / 0.7077 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.7245, allocations: 346.9 kB / 0.7081 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.7246, allocations: 16 kB / 0.7081 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.7248, allocations: 349.9 kB / 0.7084 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.7262, allocations: 0.6522 MB / 0.7091 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.7276, allocations: 0.7887 MB / 0.7098 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.729, allocations: 0.7589 MB / 0.7106 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.729, allocations: 0 / 0.7106 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01393/0.743, allocations: 4.704 MB / 0.7152 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-05/0.7431, allocations: 63.41 kB / 0.7152 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.7431, allocations: 4 kB / 0.7152 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006783/0.7499, allocations: 1.92 MB / 0.7171 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.7513, allocations: 191.8 kB / 0.7173 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02215/0.7735, allocations: 9.398 MB / 0.7265 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.7755, allocations: 207 kB / 0.7267 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.7758, allocations: 38.42 kB / 0.7267 GB, free: 7.043 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 2 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0009167/0.7767, allocations: 290.3 kB / 0.727 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004583/0.7772, allocations: 138.3 kB / 0.7271 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.7912, allocations: 4.748 MB / 0.7317 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.7912, allocations: 8 kB / 0.7318 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/0.7913, allocations: 11.95 kB / 0.7318 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/0.7913, allocations: 12.78 kB / 0.7318 GB, free: 1.801 MB / 0.5105 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.01638/0.8077, allocations: 6.328 MB / 0.738 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.8077, allocations: 0 / 0.738 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007061/0.8084, allocations: 107.8 kB / 0.7381 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005955/0.8144, allocations: 1.874 MB / 0.7399 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.8146, allocations: 27.92 kB / 0.7399 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/0.836, allocations: 10.13 MB / 0.7498 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.836, allocations: 0 / 0.7498 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/0.8523, allocations: 5.697 MB / 0.7554 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007627/0.8532, allocations: 231.3 kB / 0.7556 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004142/0.8536, allocations: 21.59 kB / 0.7556 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.8552, allocations: 143.9 kB / 0.7557 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006368/0.8558, allocations: 196.6 kB / 0.7559 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.8559, allocations: 28 kB / 0.756 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001397/0.8574, allocations: 0.7514 MB / 0.7567 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8574, allocations: 0 / 0.7567 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001784/0.8592, allocations: 451.4 kB / 0.7571 GB, free: 7.391 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01593/0.8751, allocations: 6.36 MB / 0.7633 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006545/0.8817, allocations: 2.519 MB / 0.7658 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.8817, allocations: 4.062 kB / 0.7658 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004866/0.8866, allocations: 1.815 MB / 0.7676 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.8879, allocations: 116.2 kB / 0.7677 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/0.8949, allocations: 5.239 MB / 0.7728 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007861/0.8957, allocations: 1.151 MB / 0.7739 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005233/0.8963, allocations: 94.89 kB / 0.774 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007337/0.897, allocations: 479.3 kB / 0.7745 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of SimCode: time 1.393e-06/0.897, allocations: 0 / 0.7745 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3346/1.232, allocations: 31.08 MB / 0.8048 GB, free: 155 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/1.232, allocations: 220 kB / 0.805 GB, free: 154.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/4.345, allocations: 0 / 0.805 GB, free: 154.7 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)