Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006438/0.006438, 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 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 221.3 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008865/0.0008865, allocations: 86.81 kB / 269.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05702/0.05702, allocations: 12.2 MB / 330 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4227/0.4227, allocations: 78.53 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004796, allocations: 21.66 kB / 0.528 GB, free: 35.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1258, allocations: 69.24 MB / 0.5956 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3655/0.4913, allocations: 101.1 MB / 0.6944 GB, free: 98.72 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.4916, allocations: 84.39 kB / 0.6945 GB, free: 98.72 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1536/0.6453, allocations: 67.57 MB / 0.7605 GB, free: 49.53 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6453, allocations: 0 / 0.7605 GB, free: 49.53 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001392/0.6455, allocations: 63.94 kB / 0.7605 GB, free: 49.47 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01297/0.6584, allocations: 4.617 MB / 0.765 GB, free: 44.76 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.6585, allocations: 15.98 kB / 0.7651 GB, free: 44.74 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001066/0.6596, allocations: 303.2 kB / 0.7654 GB, free: 44.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009562/0.6692, allocations: 1.619 MB / 0.7669 GB, free: 42.81 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005036/0.6742, allocations: 1.693 MB / 0.7686 GB, free: 41.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007/0.675, allocations: 0.7487 MB / 0.7693 GB, free: 40.19 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.676, allocations: 204 kB / 0.7695 GB, free: 39.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008611/0.6847, allocations: 3.199 MB / 0.7726 GB, free: 36.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.894e-05/0.6848, allocations: 0 / 0.7726 GB, free: 36.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006505/0.6855, allocations: 84 kB / 0.7727 GB, free: 36.63 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.6855, allocations: 48 kB / 0.7728 GB, free: 36.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006549/0.6921, allocations: 2.979 MB / 0.7757 GB, free: 33.59 MB / 474.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.01913/0.7112, allocations: 9.904 MB / 0.7853 GB, free: 23.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.7215, allocations: 4.858 MB / 0.7901 GB, free: 18.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/0.7218, allocations: 41.95 kB / 0.7901 GB, free: 18.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004434/0.7263, allocations: 2.415 MB / 0.7925 GB, free: 15.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 6.372e-06/0.7263, allocations: 0 / 0.7925 GB, free: 15.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.1142/0.8405, allocations: 33.27 MB / 0.825 GB, free: 14.39 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.8407, allocations: 188.2 kB / 0.8252 GB, free: 14.18 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/0.8454, allocations: 1.921 MB / 0.827 GB, free: 12.24 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008178/0.8463, allocations: 73.64 kB / 0.8271 GB, free: 12.16 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.8474, allocations: 1.208 MB / 0.8283 GB, free: 10.95 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0015/0.8489, allocations: 0.847 MB / 0.8291 GB, free: 10.09 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000559/0.8495, allocations: 56 kB / 0.8292 GB, free: 10.03 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000261/0.8498, allocations: 394.9 kB / 0.8295 GB, free: 9.641 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004406/0.8542, allocations: 1.879 MB / 0.8314 GB, free: 7.758 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00466/0.8589, allocations: 2.179 MB / 0.8335 GB, free: 5.48 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004576/0.8635, allocations: 2.098 MB / 0.8356 GB, free: 3.328 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/0.8635, allocations: 4 kB / 0.8356 GB, free: 3.324 MB / 0.4949 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.04287/0.9064, allocations: 14.46 MB / 0.8497 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.9066, allocations: 110.8 kB / 0.8498 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/0.9066, allocations: 12 kB / 0.8498 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01994/0.9266, allocations: 6.37 MB / 0.856 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/0.9292, allocations: 411.4 kB / 0.8564 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0648/0.994, allocations: 26.51 MB / 0.8823 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004754/0.9988, allocations: 0.529 MB / 0.8828 GB, free: 2.668 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008143/0.9996, allocations: 91.97 kB / 0.8829 GB, free: 2.578 MB / 0.5417 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 219 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.00287/1.003, allocations: 0.5198 MB / 0.8834 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/1.004, allocations: 300.3 kB / 0.8837 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04342/1.048, allocations: 14.74 MB / 0.8981 GB, free: 2.953 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.895e-05/1.048, allocations: 24 kB / 0.8981 GB, free: 2.93 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-05/1.048, allocations: 20 kB / 0.8981 GB, free: 2.91 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001195/1.048, allocations: 15.95 kB / 0.8981 GB, free: 2.895 MB / 0.5574 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.05221/1.1, allocations: 18.26 MB / 0.916 GB, free: 480 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/1.1, allocations: 4.062 kB / 0.916 GB, free: 476 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.102, allocations: 247.6 kB / 0.9162 GB, free: 228 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3258/1.428, allocations: 6.232 MB / 0.9223 GB, free: 153.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007731/1.429, allocations: 50.36 kB / 0.9223 GB, free: 153.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06219/1.491, allocations: 26.9 MB / 0.9486 GB, free: 149 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.491, allocations: 0 / 0.9486 GB, free: 149 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04456/1.535, allocations: 17.32 MB / 0.9655 GB, free: 147.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.537, allocations: 420.3 kB / 0.9659 GB, free: 146.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/1.538, allocations: 50.7 kB / 0.966 GB, free: 146.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003857/1.542, allocations: 407.7 kB / 0.9664 GB, free: 146.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002493/1.545, allocations: 0.5793 MB / 0.9669 GB, free: 146.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005104/1.545, allocations: 67.41 kB / 0.967 GB, free: 146.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002961/1.548, allocations: 1.492 MB / 0.9685 GB, free: 146.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/1.548, allocations: 0 / 0.9685 GB, free: 146.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005359/1.553, allocations: 1.117 MB / 0.9695 GB, free: 146 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * 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 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04438/1.598, allocations: 18.08 MB / 0.9872 GB, free: 132 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01778/1.616, allocations: 7.027 MB / 0.9941 GB, free: 125.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.616, allocations: 0 / 0.9941 GB, free: 125.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01323/1.629, allocations: 5.063 MB / 0.999 GB, free: 121.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.632, allocations: 232.8 kB / 0.9992 GB, free: 121.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/1.647, allocations: 11.82 MB / 1.011 GB, free: 109.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/1.649, allocations: 1.865 MB / 1.013 GB, free: 108.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001249/1.651, allocations: 217.5 kB / 1.013 GB, free: 108.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/1.652, allocations: 1.203 MB / 1.014 GB, free: 107.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.402e-06/1.652, allocations: 0 / 1.014 GB, free: 107.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1146/1.767, allocations: 77.81 MB / 1.09 GB, free: 36.61 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.767, allocations: 219.2 kB / 1.09 GB, free: 36.38 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.139/6.906, allocations: 0 / 1.09 GB, free: 36.38 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)