Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.01111/0.01111, allocations: 171.1 kB / 15.11 MB, free: 5.969 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.402/1.402, allocations: 223.2 MB / 239 MB, free: 92 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 99.23 kB / 290.2 MB, free: 4.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4809/0.4809, allocations: 78.59 MB / 419.9 MB, free: 36.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.000396, allocations: 12 kB / 499.9 MB, free: 7.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1398, allocations: 69.36 MB / 0.5559 GB, free: 1.754 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.5541, allocations: 101.5 MB / 0.6549 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.5545, allocations: 80.89 kB / 0.655 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2552/0.8097, allocations: 100.2 MB / 0.7529 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8098, allocations: 4 kB / 0.7529 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004638/0.8102, allocations: 91.88 kB / 0.753 GB, free: 12.48 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02186/0.8321, allocations: 6.555 MB / 0.7594 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.8322, allocations: 8.031 kB / 0.7594 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002043/0.8342, allocations: 492.8 kB / 0.7598 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01818/0.8524, allocations: 2.803 MB / 0.7626 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007028/0.8595, allocations: 2.268 MB / 0.7648 GB, free: 188 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001206/0.8607, allocations: 0.9885 MB / 0.7658 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/0.8624, allocations: 351.8 kB / 0.7661 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/0.8765, allocations: 4.93 MB / 0.7709 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-05/0.8766, allocations: 0 / 0.7709 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004414/0.8771, allocations: 143.9 kB / 0.771 GB, free: 9.613 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.834e-05/0.8772, allocations: 84 kB / 0.7711 GB, free: 9.531 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.8886, allocations: 4.482 MB / 0.7755 GB, free: 5.043 MB / 0.5573 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 preOpt removeSimpleEquations (simulation): time 0.04045/0.9291, allocations: 18.58 MB / 0.7937 GB, free: 1.277 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3157/1.245, allocations: 5.66 MB / 0.7992 GB, free: 97.85 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008143/1.246, allocations: 68.58 kB / 0.7992 GB, free: 97.84 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007743/1.253, allocations: 3.418 MB / 0.8026 GB, free: 97.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=382): time 6.222e-06/1.254, allocations: 0 / 0.8026 GB, free: 97.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=382): time 0.304/1.558, allocations: 78.4 MB / 0.8791 GB, free: 94.03 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/1.558, allocations: 140.6 kB / 0.8793 GB, free: 93.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003885/1.562, allocations: 2.717 MB / 0.8819 GB, free: 93.63 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008033/1.562, allocations: 91.2 kB / 0.882 GB, free: 93.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/1.564, allocations: 2 MB / 0.884 GB, free: 93.22 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001741/1.565, allocations: 1.295 MB / 0.8852 GB, free: 92.56 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/1.566, allocations: 73.81 kB / 0.8853 GB, free: 92.56 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.566, allocations: 448.8 kB / 0.8857 GB, free: 92.25 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005247/1.571, allocations: 2.656 MB / 0.8883 GB, free: 92.19 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005297/1.576, allocations: 3.235 MB / 0.8915 GB, free: 91.58 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/1.582, allocations: 2.9 MB / 0.8943 GB, free: 91.41 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/1.582, allocations: 2.688 kB / 0.8943 GB, free: 91.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05529/1.637, allocations: 20.18 MB / 0.914 GB, free: 83.83 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-05/1.637, allocations: 66.36 kB / 0.9141 GB, free: 83.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/1.637, allocations: 16 kB / 0.9141 GB, free: 83.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02606/1.663, allocations: 8.557 MB / 0.9225 GB, free: 77.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/1.666, allocations: 0.5578 MB / 0.923 GB, free: 77.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08048/1.747, allocations: 37.09 MB / 0.9592 GB, free: 42.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005992/1.753, allocations: 0.7065 MB / 0.9599 GB, free: 41.86 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008225/1.754, allocations: 128 kB / 0.96 GB, free: 41.74 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 326 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002157/1.756, allocations: 0.6561 MB / 0.9607 GB, free: 41.12 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.757, allocations: 466.2 kB / 0.9611 GB, free: 40.66 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05487/1.812, allocations: 20.54 MB / 0.9812 GB, free: 20.18 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.991e-05/1.812, allocations: 45.97 kB / 0.9812 GB, free: 20.13 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.634e-05/1.812, allocations: 31 kB / 0.9813 GB, free: 20.11 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001217/1.812, allocations: 20.44 kB / 0.9813 GB, free: 20.09 MB / 0.573 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.06284/1.875, allocations: 25.49 MB / 1.006 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-05/1.875, allocations: 0 / 1.006 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002744/1.878, allocations: 388.8 kB / 1.007 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3132/2.191, allocations: 8.611 MB / 1.015 GB, free: 98.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001038/2.192, allocations: 73.02 kB / 1.015 GB, free: 98.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08315/2.275, allocations: 34.33 MB / 1.049 GB, free: 95.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/2.275, allocations: 3.953 kB / 1.049 GB, free: 95.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06701/2.342, allocations: 24.19 MB / 1.072 GB, free: 94.46 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/2.345, allocations: 0.5542 MB / 1.073 GB, free: 94.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002134/2.347, allocations: 68.19 kB / 1.073 GB, free: 94.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005384/2.352, allocations: 0.4886 MB / 1.073 GB, free: 94.13 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003562/2.356, allocations: 0.7782 MB / 1.074 GB, free: 94.13 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005207/2.356, allocations: 95.12 kB / 1.074 GB, free: 94.13 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003203/2.359, allocations: 2.077 MB / 1.076 GB, free: 93.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.61e-07/2.359, allocations: 0 / 1.076 GB, free: 93.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006355/2.366, allocations: 1.761 MB / 1.078 GB, free: 93.88 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.06608/2.432, allocations: 24.93 MB / 1.102 GB, free: 89.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02483/2.457, allocations: 9.939 MB / 1.112 GB, free: 86.47 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/2.457, allocations: 384 / 1.112 GB, free: 86.47 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01937/2.476, allocations: 7.022 MB / 1.119 GB, free: 84.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/2.48, allocations: 307.4 kB / 1.119 GB, free: 84.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/2.497, allocations: 20.91 MB / 1.139 GB, free: 67.36 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/2.499, allocations: 2.528 MB / 1.142 GB, free: 66.49 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001548/2.5, allocations: 296.5 kB / 1.142 GB, free: 66.44 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/2.502, allocations: 1.976 MB / 1.144 GB, free: 64.79 MB / 0.5886 GB Notification: Performance of SimCode: time 1.252e-06/2.502, allocations: 0 / 1.144 GB, free: 64.79 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4963/2.999, allocations: 112 MB / 1.254 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/2.999, allocations: 216.7 kB / 1.254 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.405/9.404, allocations: 1.75 kB / 1.254 GB, free: 108.7 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)