Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",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.001188/0.001188, allocations: 175 kB / 12.73 MB, free: 2.59 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.391/1.391, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 88.8 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4842/0.4842, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.434e-05/4.436e-05, allocations: 7.984 kB / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3804, allocations: 69.34 MB / 0.5481 GB, free: 20.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.5091, allocations: 97.87 MB / 0.6437 GB, free: 2.641 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.5094, allocations: 75.95 kB / 0.6437 GB, free: 2.566 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5155/1.025, allocations: 60.69 MB / 0.703 GB, free: 99.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.973e-06/1.025, allocations: 0 / 0.703 GB, free: 99.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002371/1.025, allocations: 53.91 kB / 0.7031 GB, free: 99.89 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01261/1.038, allocations: 3.734 MB / 0.7067 GB, free: 98.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.038, allocations: 15.5 kB / 0.7067 GB, free: 98.65 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001069/1.039, allocations: 291 kB / 0.707 GB, free: 98.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009836/1.049, allocations: 1.566 MB / 0.7085 GB, free: 98.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00407/1.053, allocations: 1.456 MB / 0.7099 GB, free: 97.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006253/1.054, allocations: 0.6745 MB / 0.7106 GB, free: 96.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008101/1.054, allocations: 197.7 kB / 0.7108 GB, free: 96.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005464/1.06, allocations: 2.405 MB / 0.7131 GB, free: 94.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.444e-05/1.06, allocations: 0 / 0.7131 GB, free: 94.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003482/1.06, allocations: 84 kB / 0.7132 GB, free: 94.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/1.06, allocations: 51.94 kB / 0.7133 GB, free: 94.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004174/1.064, allocations: 2.167 MB / 0.7154 GB, free: 92.61 MB / 490.7 MB 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.01747/1.082, allocations: 9.605 MB / 0.7248 GB, free: 82.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008917/1.091, allocations: 4.034 MB / 0.7287 GB, free: 78.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002319/1.093, allocations: 1.432 MB / 0.7301 GB, free: 77.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/1.094, allocations: 40.23 kB / 0.7301 GB, free: 77.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/1.094, allocations: 56.56 kB / 0.7302 GB, free: 77.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 4.659e-06/1.094, allocations: 0 / 0.7302 GB, free: 77.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=227): time 0.0356/1.129, allocations: 12.06 MB / 0.742 GB, free: 64.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/1.129, allocations: 132.8 kB / 0.7421 GB, free: 64.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/1.132, allocations: 1.632 MB / 0.7437 GB, free: 63.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006119/1.133, allocations: 65.7 kB / 0.7438 GB, free: 63.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006488/1.134, allocations: 1.12 MB / 0.7449 GB, free: 61.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001061/1.135, allocations: 0.7798 MB / 0.7456 GB, free: 61.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003496/1.135, allocations: 40 kB / 0.7457 GB, free: 61.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/1.135, allocations: 394.1 kB / 0.746 GB, free: 60.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/1.137, allocations: 1.145 MB / 0.7471 GB, free: 59.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/1.139, allocations: 1.459 MB / 0.7486 GB, free: 58.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/1.142, allocations: 1.259 MB / 0.7498 GB, free: 56.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.142, allocations: 4 kB / 0.7498 GB, free: 56.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03564/1.177, allocations: 12.21 MB / 0.7617 GB, free: 44.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005485/1.178, allocations: 2.737 MB / 0.7644 GB, free: 41.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/1.178, allocations: 12 kB / 0.7644 GB, free: 41.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01644/1.194, allocations: 5.158 MB / 0.7694 GB, free: 36.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/1.196, allocations: 319.5 kB / 0.7698 GB, free: 36.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04075/1.237, allocations: 17.94 MB / 0.7873 GB, free: 18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/1.241, allocations: 489.8 kB / 0.7877 GB, free: 17.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006424/1.242, allocations: 75.98 kB / 0.7878 GB, free: 17.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.242, allocations: 4 kB / 0.7878 GB, free: 17.45 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03508/1.277, allocations: 11.95 MB / 0.7995 GB, free: 5.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/1.277, allocations: 4 kB / 0.7995 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01611/1.293, allocations: 5.16 MB / 0.8045 GB, free: 332 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/1.295, allocations: 303.6 kB / 0.8048 GB, free: 28 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04618/1.341, allocations: 17.94 MB / 0.8223 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003913/1.345, allocations: 457.8 kB / 0.8228 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005792/1.345, allocations: 83.91 kB / 0.8229 GB, free: 13.43 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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.001007/1.346, allocations: 229.6 kB / 0.8231 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009764/1.347, allocations: 272.6 kB / 0.8233 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03834/1.386, allocations: 12.39 MB / 0.8354 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/1.386, allocations: 24 kB / 0.8354 GB, free: 492 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.832e-05/1.386, allocations: 20 kB / 0.8355 GB, free: 472 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.529e-05/1.386, allocations: 11.95 kB / 0.8355 GB, free: 460 kB / 0.5105 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.04485/1.431, allocations: 15.87 MB / 0.851 GB, free: 476 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/1.431, allocations: 3.984 kB / 0.851 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/1.433, allocations: 247.6 kB / 0.8512 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01549/1.448, allocations: 4.863 MB / 0.856 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005905/1.449, allocations: 51.98 kB / 0.856 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0356/1.484, allocations: 15.36 MB / 0.871 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.484, allocations: 0 / 0.871 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04096/1.525, allocations: 14.26 MB / 0.8849 GB, free: 13.47 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.526, allocations: 385 kB / 0.8853 GB, free: 13.07 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006339/1.527, allocations: 44 kB / 0.8854 GB, free: 13.03 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002764/1.53, allocations: 363.7 kB / 0.8857 GB, free: 12.67 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002351/1.532, allocations: 0.548 MB / 0.8862 GB, free: 12.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/1.532, allocations: 59.94 kB / 0.8863 GB, free: 12.07 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00216/1.535, allocations: 1.246 MB / 0.8875 GB, free: 10.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.535, allocations: 4 kB / 0.8875 GB, free: 10.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006398/1.541, allocations: 1.685 MB / 0.8892 GB, free: 9.113 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4159/1.957, allocations: 15.14 MB / 0.9039 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02647/1.983, allocations: 9.34 MB / 0.9131 GB, free: 175.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.984, allocations: 4.844 kB / 0.9131 GB, free: 175.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01167/1.995, allocations: 3.895 MB / 0.9169 GB, free: 175.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.997, allocations: 187.4 kB / 0.9171 GB, free: 175.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/2.01, allocations: 4.328 MB / 0.9213 GB, free: 174.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/2.012, allocations: 1.788 MB / 0.923 GB, free: 173.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002315/2.014, allocations: 355.1 kB / 0.9234 GB, free: 173.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/2.015, allocations: 1.072 MB / 0.9244 GB, free: 173.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.403e-06/2.015, allocations: 0 / 0.9244 GB, free: 173.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1437/2.159, allocations: 96.06 MB / 1.018 GB, free: 94.24 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/2.159, allocations: 200.1 kB / 1.018 GB, free: 94.02 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.226/7.385, allocations: 0 / 1.018 GB, free: 94.02 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)