Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_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.0009431/0.000943, allocations: 172.5 kB / 7.647 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.338/1.338, 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.0008342/0.0008342, allocations: 96.5 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4578/0.4578, allocations: 78.94 MB / 410.2 MB, free: 5.949 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.714e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 69.52 MB / 0.5425 GB, free: 5.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3839/0.5176, allocations: 100.3 MB / 0.6404 GB, free: 13.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.5178, allocations: 85.88 kB / 0.6405 GB, free: 13.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1826/0.7005, allocations: 69.67 MB / 0.7085 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7005, allocations: 0 / 0.7085 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003212/0.7008, allocations: 59.94 kB / 0.7086 GB, free: 7.789 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01336/0.7142, allocations: 4.03 MB / 0.7125 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.7143, allocations: 8.031 kB / 0.7125 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.7244, allocations: 1.596 MB / 0.7141 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/0.7284, allocations: 1.636 MB / 0.7157 GB, free: 376 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008118/0.7292, allocations: 0.6705 MB / 0.7164 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006139/0.7299, allocations: 123.9 kB / 0.7165 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004741/0.7346, allocations: 2.219 MB / 0.7186 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004522/0.7392, allocations: 2.278 MB / 0.7209 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.7392, allocations: 0 / 0.7209 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.7395, allocations: 3.953 kB / 0.7209 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/0.7395, allocations: 52 kB / 0.7209 GB, free: 10.83 MB / 0.5261 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.02105/0.7606, allocations: 9.609 MB / 0.7303 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009775/0.7704, allocations: 4.102 MB / 0.7343 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002732/0.7732, allocations: 1.462 MB / 0.7357 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004384/0.7736, allocations: 41.97 kB / 0.7358 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003555/0.7772, allocations: 1.713 MB / 0.7375 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=248): time 7.214e-06/0.7772, allocations: 0 / 0.7375 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of matching and sorting (n=248): time 0.03828/0.8155, allocations: 12.32 MB / 0.7495 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.8157, allocations: 184.2 kB / 0.7497 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003361/0.819, allocations: 1.692 MB / 0.7513 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006157/0.8197, allocations: 33.77 kB / 0.7513 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009969/0.8207, allocations: 1.2 MB / 0.7525 GB, free: 9.824 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/0.822, allocations: 0.8236 MB / 0.7533 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/0.8225, allocations: 7.938 kB / 0.7533 GB, free: 8.98 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.00023/0.8227, allocations: 395 kB / 0.7537 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/0.8251, allocations: 1.208 MB / 0.7549 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.8274, allocations: 1.499 MB / 0.7563 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.8297, allocations: 1.326 MB / 0.7576 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.8297, allocations: 4 kB / 0.7576 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.3267/1.156, allocations: 12.27 MB / 0.7696 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.995e-05/1.157, allocations: 116.2 kB / 0.7697 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/1.157, allocations: 6.281 kB / 0.7697 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01548/1.172, allocations: 4.969 MB / 0.7746 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/1.174, allocations: 424.6 kB / 0.775 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04077/1.215, allocations: 17.55 MB / 0.7921 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00417/1.219, allocations: 492.7 kB / 0.7926 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005931/1.22, allocations: 90.03 kB / 0.7927 GB, free: 111.6 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 4 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001069/1.221, allocations: 224.5 kB / 0.7929 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03962/1.261, allocations: 12.31 MB / 0.8049 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001437/1.262, allocations: 295 kB / 0.8052 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03568/1.298, allocations: 12.61 MB / 0.8175 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-05/1.298, allocations: 26.42 kB / 0.8176 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-05/1.298, allocations: 18.69 kB / 0.8176 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.94e-05/1.298, allocations: 18.33 kB / 0.8176 GB, free: 109.9 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.03969/1.338, allocations: 15.94 MB / 0.8332 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/1.338, allocations: 4.219 kB / 0.8332 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.339, allocations: 243.2 kB / 0.8334 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01404/1.354, allocations: 4.981 MB / 0.8383 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006829/1.354, allocations: 18.78 kB / 0.8383 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03474/1.389, allocations: 18.97 MB / 0.8568 GB, free: 96.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.389, allocations: 11.39 kB / 0.8568 GB, free: 96.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03827/1.427, allocations: 14.57 MB / 0.871 GB, free: 85.24 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.429, allocations: 409.9 kB / 0.8714 GB, free: 84.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001279/1.43, allocations: 4 kB / 0.8714 GB, free: 84.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003965/1.434, allocations: 376.1 kB / 0.8718 GB, free: 84.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002286/1.436, allocations: 0.5827 MB / 0.8724 GB, free: 84.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005224/1.437, allocations: 67.38 kB / 0.8724 GB, free: 84.22 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002263/1.439, allocations: 1.259 MB / 0.8737 GB, free: 83.06 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.01e-07/1.439, allocations: 0 / 0.8737 GB, free: 83.06 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005168/1.444, allocations: 1.002 MB / 0.8746 GB, free: 82.11 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03899/1.483, allocations: 15.31 MB / 0.8896 GB, free: 69.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01432/1.498, allocations: 5.575 MB / 0.895 GB, free: 64.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.498, allocations: 1.75 kB / 0.895 GB, free: 64.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01182/1.509, allocations: 4.276 MB / 0.8992 GB, free: 60.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/1.512, allocations: 187.6 kB / 0.8994 GB, free: 60.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.523, allocations: 4.359 MB / 0.9036 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/1.524, allocations: 1.862 MB / 0.9055 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001121/1.525, allocations: 215.9 kB / 0.9057 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/1.527, allocations: 1.186 MB / 0.9068 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/1.527, allocations: 4.547 kB / 0.9068 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/1.642, allocations: 73.84 MB / 0.9789 GB, free: 20 kB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2738/1.916, allocations: 140 kB / 0.9791 GB, free: 143.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.411/6.327, allocations: 0 / 0.9791 GB, free: 143.9 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)