Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.009481/0.009481, allocations: 169.5 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.564/1.564, allocations: 223.2 MB / 239 MB, free: 1.793 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.0009568/0.0009566, allocations: 114.4 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4938/0.4938, allocations: 79.45 MB / 420.8 MB, free: 43.69 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 16 kB / 0.4891 GB, free: 1.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3677, allocations: 69.49 MB / 0.557 GB, free: 38.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.5041, allocations: 99.85 MB / 0.6545 GB, free: 5.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.5044, allocations: 83.95 kB / 0.6546 GB, free: 5.648 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08914/0.5936, allocations: 32.47 MB / 0.6863 GB, free: 5.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5936, allocations: 0 / 0.6863 GB, free: 5.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001207/0.5938, allocations: 27.94 kB / 0.6863 GB, free: 4.992 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.006276/0.6, allocations: 2.056 MB / 0.6883 GB, free: 2.871 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.6001, allocations: 12.03 kB / 0.6883 GB, free: 2.859 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004441/0.6005, allocations: 130.7 kB / 0.6885 GB, free: 2.723 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/0.6043, allocations: 0.568 MB / 0.689 GB, free: 2.152 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.6066, allocations: 0.8174 MB / 0.6898 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/0.607, allocations: 264.1 kB / 0.6901 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/0.6073, allocations: 83.91 kB / 0.6901 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/0.6101, allocations: 1.153 MB / 0.6913 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.6101, allocations: 0 / 0.6913 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.6103, allocations: 28 kB / 0.6913 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.6103, allocations: 20 kB / 0.6913 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.6125, allocations: 1.054 MB / 0.6923 GB, free: 14.63 MB / 0.4948 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.008011/0.6205, allocations: 3.858 MB / 0.6961 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008023/0.6286, allocations: 2.914 MB / 0.699 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.6289, allocations: 24.97 kB / 0.699 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002028/0.6309, allocations: 0.8841 MB / 0.6998 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=97): time 3.677e-06/0.6309, allocations: 4 kB / 0.6998 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.03031/0.6613, allocations: 8.431 MB / 0.7081 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/0.6614, allocations: 119.8 kB / 0.7082 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.6636, allocations: 0.9494 MB / 0.7091 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000299/0.6639, allocations: 45.69 kB / 0.7092 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/0.6644, allocations: 0.5131 MB / 0.7097 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006845/0.6651, allocations: 346.9 kB / 0.71 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.6653, allocations: 23.94 kB / 0.71 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6654, allocations: 345.9 kB / 0.7104 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.6669, allocations: 0.6582 MB / 0.711 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.6685, allocations: 0.7848 MB / 0.7118 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.6701, allocations: 0.7589 MB / 0.7125 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.6701, allocations: 0 / 0.7125 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01434/0.6845, allocations: 4.7 MB / 0.7171 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.6846, allocations: 63.39 kB / 0.7172 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/0.6846, allocations: 0 / 0.7172 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006849/0.6915, allocations: 1.932 MB / 0.719 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.693, allocations: 191.8 kB / 0.7192 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/0.7155, allocations: 9.408 MB / 0.7284 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.7175, allocations: 207 kB / 0.7286 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.7178, allocations: 39.94 kB / 0.7286 GB, free: 8.816 MB / 0.5261 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.0009233/0.7187, allocations: 284.6 kB / 0.7289 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004597/0.7192, allocations: 126.4 kB / 0.729 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/0.7332, allocations: 4.758 MB / 0.7337 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.7332, allocations: 19.91 kB / 0.7337 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/0.7332, allocations: 11.95 kB / 0.7337 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.7333, allocations: 3.984 kB / 0.7337 GB, free: 3.578 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 postOpt removeSimpleEquations (simulation): time 0.0161/0.7494, allocations: 6.328 MB / 0.7399 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/0.7494, allocations: 0 / 0.7399 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007909/0.7502, allocations: 107.8 kB / 0.74 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006158/0.7564, allocations: 1.876 MB / 0.7418 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003027/0.7567, allocations: 23.98 kB / 0.7419 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/0.7785, allocations: 10.13 MB / 0.7517 GB, free: 0.7188 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7786, allocations: 0 / 0.7517 GB, free: 0.7188 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01616/0.7948, allocations: 5.697 MB / 0.7573 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000625/0.7954, allocations: 231.3 kB / 0.7575 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00047/0.7959, allocations: 16 kB / 0.7575 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/0.7976, allocations: 143.9 kB / 0.7577 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007265/0.7983, allocations: 200.6 kB / 0.7579 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.7985, allocations: 27.94 kB / 0.7579 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001486/0.8, allocations: 0.7553 MB / 0.7586 GB, free: 9.598 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8, allocations: 0 / 0.7586 GB, free: 9.598 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001901/0.8019, allocations: 451.3 kB / 0.7591 GB, free: 9.156 MB / 0.5573 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.01667/0.8186, allocations: 6.361 MB / 0.7653 GB, free: 2.738 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006498/0.8251, allocations: 2.524 MB / 0.7677 GB, free: 188 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8252, allocations: 0 / 0.7677 GB, free: 188 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.2651/1.09, allocations: 1.804 MB / 0.7695 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/1.091, allocations: 112.6 kB / 0.7696 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006512/1.098, allocations: 5.233 MB / 0.7747 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008465/1.099, allocations: 1.155 MB / 0.7759 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005516/1.099, allocations: 103.8 kB / 0.776 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000719/1.1, allocations: 477.2 kB / 0.7764 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of SimCode: time 3.036e-06/1.1, allocations: 0 / 0.7764 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06161/1.162, allocations: 31.08 MB / 0.8068 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/1.162, allocations: 217.6 kB / 0.807 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.274/4.436, allocations: 0 / 0.807 GB, free: 141.8 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)