Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",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.002217/0.002217, allocations: 172.5 kB / 7.646 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.607/1.607, 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.0009083/0.0009082, allocations: 100.2 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5327/0.5327, allocations: 78.11 MB / 409.4 MB, free: 6.477 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.878e-05, allocations: 7.938 kB / 485.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1341, allocations: 69.36 MB / 0.5414 GB, free: 6.871 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3893/0.5235, allocations: 97.43 MB / 0.6366 GB, free: 2.258 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.5238, allocations: 76.98 kB / 0.6366 GB, free: 2.184 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08056/0.6044, allocations: 29.61 MB / 0.6656 GB, free: 4.621 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6044, allocations: 4 kB / 0.6656 GB, free: 4.617 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.293e-05/0.6045, allocations: 23.94 kB / 0.6656 GB, free: 4.594 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00413/0.6086, allocations: 1.684 MB / 0.6672 GB, free: 2.852 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.6087, allocations: 19.95 kB / 0.6672 GB, free: 2.832 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/0.6123, allocations: 0.5564 MB / 0.6678 GB, free: 2.273 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.6138, allocations: 0.7606 MB / 0.6685 GB, free: 1.457 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.6141, allocations: 206.5 kB / 0.6687 GB, free: 1.227 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.6143, allocations: 52.58 kB / 0.6688 GB, free: 1.176 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001434/0.6157, allocations: 0.7967 MB / 0.6696 GB, free: 388 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.6172, allocations: 0.8299 MB / 0.6704 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.6172, allocations: 3.984 kB / 0.6704 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-05/0.6173, allocations: 0 / 0.6704 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.6173, allocations: 16 kB / 0.6704 GB, free: 15.52 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.007095/0.6245, allocations: 3.704 MB / 0.674 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007298/0.6318, allocations: 2.569 MB / 0.6765 GB, free: 8.961 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009748/0.6328, allocations: 0.5078 MB / 0.677 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.6329, allocations: 20.75 kB / 0.677 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.633, allocations: 47.28 kB / 0.6771 GB, free: 8.375 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.476e-06/0.633, allocations: 0 / 0.6771 GB, free: 8.375 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.0125/0.6455, allocations: 3.797 MB / 0.6808 GB, free: 4.562 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.6456, allocations: 145.3 kB / 0.6809 GB, free: 4.391 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.6469, allocations: 0.8144 MB / 0.6817 GB, free: 3.562 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002005/0.6471, allocations: 25.7 kB / 0.6817 GB, free: 3.531 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.6475, allocations: 0.5089 MB / 0.6822 GB, free: 3.016 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.6478, allocations: 315.2 kB / 0.6825 GB, free: 2.703 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.6479, allocations: 1.219 kB / 0.6825 GB, free: 2.703 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.648, allocations: 341.9 kB / 0.6829 GB, free: 2.363 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/0.6487, allocations: 422.6 kB / 0.6833 GB, free: 1.949 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007783/0.6495, allocations: 0.5388 MB / 0.6838 GB, free: 1.367 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.6503, allocations: 480.8 kB / 0.6843 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6503, allocations: 0 / 0.6843 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01253/0.6628, allocations: 3.934 MB / 0.6881 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004197/0.6633, allocations: 1.202 MB / 0.6893 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.6633, allocations: 7.953 kB / 0.6893 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005311/0.6686, allocations: 1.445 MB / 0.6907 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.6697, allocations: 163.8 kB / 0.6908 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.6829, allocations: 6.398 MB / 0.6971 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.6846, allocations: 171.3 kB / 0.6973 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.6847, allocations: 37.48 kB / 0.6973 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6847, allocations: 4 kB / 0.6973 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01227/0.697, allocations: 3.79 MB / 0.701 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/0.6971, allocations: 6.5 kB / 0.701 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005289/0.7024, allocations: 1.441 MB / 0.7024 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/0.7033, allocations: 155.7 kB / 0.7026 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.7163, allocations: 6.402 MB / 0.7088 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.7179, allocations: 155.4 kB / 0.709 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.7181, allocations: 35.98 kB / 0.709 GB, free: 7.195 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003754/0.7185, allocations: 153.3 kB / 0.7091 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01218/0.7307, allocations: 3.805 MB / 0.7129 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006045/0.7313, allocations: 122.5 kB / 0.713 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/0.7437, allocations: 3.886 MB / 0.7168 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.7438, allocations: 12 kB / 0.7168 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.7438, allocations: 6.312 kB / 0.7168 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.613e-05/0.7439, allocations: 5.203 kB / 0.7168 GB, free: 15.17 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 postOpt removeSimpleEquations (simulation): time 0.01545/0.7593, allocations: 5.424 MB / 0.7221 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.7594, allocations: 0 / 0.7221 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000784/0.7602, allocations: 111.9 kB / 0.7222 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005067/0.7653, allocations: 1.406 MB / 0.7236 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/0.7656, allocations: 11.98 kB / 0.7236 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/0.7777, allocations: 5.629 MB / 0.7291 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.7778, allocations: 6.125 kB / 0.7291 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/0.7914, allocations: 4.61 MB / 0.7336 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.792, allocations: 223.2 kB / 0.7338 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/0.7924, allocations: 8 kB / 0.7338 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/0.794, allocations: 120.7 kB / 0.7339 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005559/0.7945, allocations: 184.5 kB / 0.7341 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.7946, allocations: 20 kB / 0.7341 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009329/0.7956, allocations: 0.6214 MB / 0.7347 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7956, allocations: 0 / 0.7347 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002299/0.7979, allocations: 0.6045 MB / 0.7353 GB, free: 11.93 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01399/0.8119, allocations: 5.254 MB / 0.7404 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009439/0.8214, allocations: 3.451 MB / 0.7438 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.8214, allocations: 0 / 0.7438 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003929/0.8254, allocations: 1.403 MB / 0.7452 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.8265, allocations: 96.88 kB / 0.7453 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/0.8308, allocations: 1.828 MB / 0.7471 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/0.8316, allocations: 1.158 MB / 0.7482 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000874/0.8325, allocations: 196.1 kB / 0.7484 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/0.833, allocations: 459.3 kB / 0.7488 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of SimCode: time 8.21e-07/0.833, allocations: 0 / 0.7488 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3416/1.175, allocations: 35.21 MB / 0.7832 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/1.175, allocations: 152.6 kB / 0.7833 GB, free: 145 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/4.34, allocations: 0 / 0.7833 GB, free: 145 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)