Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_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.001322/0.001322, 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.382/1.382, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0009176/0.0009179, allocations: 96.42 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4627/0.4627, allocations: 78.06 MB / 409.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.786e-05, allocations: 7.938 kB / 485 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.127, allocations: 69.36 MB / 0.5414 GB, free: 6.727 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3909/0.5179, allocations: 99.57 MB / 0.6386 GB, free: 15.82 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.5182, allocations: 84.64 kB / 0.6387 GB, free: 15.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1762/0.6944, allocations: 68.47 MB / 0.7056 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.562e-06/0.6945, allocations: 4 kB / 0.7056 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001563/0.6946, allocations: 60.62 kB / 0.7056 GB, free: 11.11 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.01228/0.7069, allocations: 4.03 MB / 0.7096 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.707, allocations: 12.03 kB / 0.7096 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/0.7173, allocations: 1.596 MB / 0.7111 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/0.7213, allocations: 1.642 MB / 0.7127 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007425/0.722, allocations: 0.6705 MB / 0.7134 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006096/0.7226, allocations: 123.9 kB / 0.7135 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004299/0.727, allocations: 2.219 MB / 0.7157 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004195/0.7312, allocations: 2.272 MB / 0.7179 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.7312, allocations: 3.984 kB / 0.7179 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.7315, allocations: 7.953 kB / 0.7179 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.7315, allocations: 48 kB / 0.7179 GB, free: 14.14 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.01974/0.7512, allocations: 9.581 MB / 0.7273 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009643/0.7609, allocations: 4.094 MB / 0.7313 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00276/0.7637, allocations: 1.472 MB / 0.7327 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003763/0.7641, allocations: 37.95 kB / 0.7328 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003128/0.7673, allocations: 1.713 MB / 0.7344 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=248): time 5.29e-06/0.7673, allocations: 0 / 0.7344 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=248): time 0.03869/0.806, allocations: 12.32 MB / 0.7465 GB, free: 332 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/0.8061, allocations: 180.2 kB / 0.7467 GB, free: 112 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/0.8088, allocations: 1.689 MB / 0.7483 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006544/0.8095, allocations: 25.7 kB / 0.7483 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000871/0.8104, allocations: 1.207 MB / 0.7495 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.8116, allocations: 0.8158 MB / 0.7503 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.8118, allocations: 0 / 0.7503 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.812, allocations: 403 kB / 0.7507 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.8141, allocations: 1.204 MB / 0.7519 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.8163, allocations: 1.511 MB / 0.7533 GB, free: 9.125 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.8186, allocations: 1.328 MB / 0.7546 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.8186, allocations: 7.938 kB / 0.7546 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.331/1.15, allocations: 12.27 MB / 0.7666 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/1.15, allocations: 122.2 kB / 0.7667 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/1.15, allocations: 5.5 kB / 0.7667 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01662/1.166, allocations: 4.975 MB / 0.7716 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/1.169, allocations: 415.2 kB / 0.772 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03836/1.207, allocations: 17.55 MB / 0.7891 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00414/1.211, allocations: 491.9 kB / 0.7896 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004392/1.212, allocations: 90.97 kB / 0.7897 GB, free: 111.2 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.000693/1.213, allocations: 212.4 kB / 0.7899 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03892/1.251, allocations: 12.32 MB / 0.8019 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/1.253, allocations: 299.3 kB / 0.8022 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03739/1.29, allocations: 12.62 MB / 0.8145 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/1.29, allocations: 24.94 kB / 0.8146 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.969e-05/1.29, allocations: 22.12 kB / 0.8146 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.388e-05/1.291, allocations: 15.2 kB / 0.8146 GB, free: 109.7 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.0391/1.33, allocations: 15.92 MB / 0.8301 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.33, allocations: 3.953 kB / 0.8301 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/1.331, allocations: 252.3 kB / 0.8304 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01425/1.345, allocations: 4.933 MB / 0.8352 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005842/1.346, allocations: 23.81 kB / 0.8352 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03484/1.381, allocations: 18.99 MB / 0.8538 GB, free: 96.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.381, allocations: 0 / 0.8538 GB, free: 96.57 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03951/1.42, allocations: 14.59 MB / 0.868 GB, free: 87.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.422, allocations: 409.4 kB / 0.8684 GB, free: 87.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008381/1.422, allocations: 4 kB / 0.8684 GB, free: 87.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003612/1.426, allocations: 368.5 kB / 0.8688 GB, free: 86.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002067/1.428, allocations: 0.5852 MB / 0.8693 GB, free: 86.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002972/1.428, allocations: 64.36 kB / 0.8694 GB, free: 86.61 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001736/1.43, allocations: 1.261 MB / 0.8706 GB, free: 85.45 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.9e-07/1.43, allocations: 0 / 0.8706 GB, free: 85.45 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003968/1.434, allocations: 1.003 MB / 0.8716 GB, free: 84.49 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 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0389/1.473, allocations: 15.33 MB / 0.8866 GB, free: 71.81 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01364/1.487, allocations: 5.565 MB / 0.892 GB, free: 66.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.487, allocations: 0 / 0.892 GB, free: 66.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01161/1.498, allocations: 4.253 MB / 0.8962 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/1.5, allocations: 191.2 kB / 0.8963 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008349/1.509, allocations: 4.358 MB / 0.9006 GB, free: 58.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/1.51, allocations: 1.866 MB / 0.9024 GB, free: 57.39 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000934/1.511, allocations: 211.8 kB / 0.9026 GB, free: 57.24 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.512, allocations: 1.182 MB / 0.9038 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/1.512, allocations: 4 kB / 0.9038 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/1.617, allocations: 73.81 MB / 0.9759 GB, free: 4.109 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/1.617, allocations: 136.5 kB / 0.976 GB, free: 3.922 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.438/6.055, allocations: 0 / 0.976 GB, free: 3.922 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)