Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.006967/0.006967, allocations: 169.9 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.426/1.426, allocations: 223.2 MB / 239 MB, free: 60 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.0009649/0.000965, allocations: 93.53 kB / 290.2 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5143/0.5143, allocations: 79.44 MB / 420.7 MB, free: 36.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004274, allocations: 8 kB / 0.4891 GB, free: 6.285 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1633, allocations: 69.51 MB / 0.557 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4813/0.6446, allocations: 99.56 MB / 0.6542 GB, free: 1.648 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.6448, allocations: 77.28 kB / 0.6543 GB, free: 1.574 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1128/0.7577, allocations: 37.12 MB / 0.6906 GB, free: 12.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7577, allocations: 0 / 0.6906 GB, free: 12.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001507/0.7579, allocations: 35.81 kB / 0.6906 GB, free: 12.42 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.006527/0.7644, allocations: 1.99 MB / 0.6925 GB, free: 10.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.7645, allocations: 12.03 kB / 0.6925 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004651/0.765, allocations: 126.6 kB / 0.6927 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003956/0.769, allocations: 0.568 MB / 0.6932 GB, free: 9.648 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.7715, allocations: 0.815 MB / 0.694 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003839/0.7719, allocations: 264.2 kB / 0.6943 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003883/0.7723, allocations: 83.89 kB / 0.6943 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/0.7758, allocations: 1.129 MB / 0.6955 GB, free: 7.262 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.7758, allocations: 0 / 0.6955 GB, free: 7.262 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.776, allocations: 31.98 kB / 0.6955 GB, free: 7.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.7761, allocations: 20 kB / 0.6955 GB, free: 7.211 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.7787, allocations: 1.05 MB / 0.6965 GB, free: 6.156 MB / 490.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.009133/0.7878, allocations: 3.824 MB / 0.7003 GB, free: 2.156 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008203/0.7961, allocations: 2.892 MB / 0.7031 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.7963, allocations: 24.97 kB / 0.7031 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002142/0.7985, allocations: 0.8685 MB / 0.704 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 4.208e-06/0.7985, allocations: 0 / 0.704 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.03338/0.8319, allocations: 8.704 MB / 0.7125 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/0.832, allocations: 115.8 kB / 0.7126 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.8343, allocations: 0.9171 MB / 0.7135 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003047/0.8347, allocations: 41.7 kB / 0.7135 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/0.8352, allocations: 0.5013 MB / 0.714 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006526/0.8358, allocations: 348.6 kB / 0.7143 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.836, allocations: 16 kB / 0.7143 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.8362, allocations: 345.9 kB / 0.7147 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.8379, allocations: 0.6465 MB / 0.7153 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.8396, allocations: 0.7731 MB / 0.7161 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.8414, allocations: 0.7472 MB / 0.7168 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.8414, allocations: 4 kB / 0.7168 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0149/0.8563, allocations: 4.676 MB / 0.7214 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.7e-05/0.8565, allocations: 59.41 kB / 0.7214 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.8565, allocations: 4 kB / 0.7214 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00696/0.8635, allocations: 1.893 MB / 0.7233 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.8647, allocations: 191.7 kB / 0.7234 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/0.8873, allocations: 9.447 MB / 0.7327 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.8893, allocations: 207 kB / 0.7329 GB, free: 300 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002707/0.8896, allocations: 35.98 kB / 0.7329 GB, free: 264 kB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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: 13 * 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 (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.001002/0.8906, allocations: 277.4 kB / 0.7332 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005032/0.8911, allocations: 122.5 kB / 0.7333 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/0.9054, allocations: 4.729 MB / 0.7379 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.9055, allocations: 15.98 kB / 0.7379 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/0.9055, allocations: 8 kB / 0.7379 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-05/0.9056, allocations: 3.984 kB / 0.7379 GB, free: 11.07 MB / 0.5261 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.01705/0.9227, allocations: 6.282 MB / 0.7441 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.9227, allocations: 0 / 0.7441 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/0.9235, allocations: 103.8 kB / 0.7442 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006122/0.9296, allocations: 1.883 MB / 0.746 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002846/0.9299, allocations: 20 kB / 0.746 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02207/0.952, allocations: 10.12 MB / 0.7559 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.9521, allocations: 3.938 kB / 0.7559 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01649/0.9686, allocations: 5.658 MB / 0.7614 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008177/0.9695, allocations: 227.2 kB / 0.7616 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005638/0.9701, allocations: 23.94 kB / 0.7617 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/0.9718, allocations: 143.9 kB / 0.7618 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008996/0.9727, allocations: 193.3 kB / 0.762 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/0.9729, allocations: 31.98 kB / 0.762 GB, free: 1.945 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001833/0.9748, allocations: 0.7196 MB / 0.7627 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.11e-07/0.9748, allocations: 0 / 0.7627 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002705/0.9775, allocations: 435.5 kB / 0.7631 GB, free: 0.793 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01769/0.9952, allocations: 6.327 MB / 0.7693 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007041/1.002, allocations: 2.473 MB / 0.7717 GB, free: 7.902 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.002, allocations: 4 kB / 0.7717 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00506/1.007, allocations: 1.799 MB / 0.7735 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/1.009, allocations: 109.1 kB / 0.7736 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008092/1.017, allocations: 5.091 MB / 0.7786 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.018, allocations: 1.147 MB / 0.7797 GB, free: 15.59 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006206/1.019, allocations: 94.75 kB / 0.7798 GB, free: 15.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008144/1.02, allocations: 471.3 kB / 0.7802 GB, free: 15.04 MB / 0.573 GB Notification: Performance of SimCode: time 1.092e-06/1.02, allocations: 3.938 kB / 0.7802 GB, free: 15.03 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3529/1.372, allocations: 30.47 MB / 0.81 GB, free: 152.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.373, allocations: 215.9 kB / 0.8102 GB, free: 152.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.088/4.46, allocations: 0 / 0.8102 GB, free: 152.4 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)