Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_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.007903/0.007903, allocations: 171.9 kB / 15.12 MB, free: 5.973 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.423/1.423, allocations: 223.2 MB / 239 MB, free: 76 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.0009356/0.0009353, allocations: 94.3 kB / 290.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5077/0.5077, allocations: 78.51 MB / 419.8 MB, free: 36.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.000378, allocations: 16 kB / 499.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 69.35 MB / 0.5558 GB, free: 1.656 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4323/0.5846, allocations: 98.88 MB / 0.6524 GB, free: 3.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.5848, allocations: 82.33 kB / 0.6524 GB, free: 3.227 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09635/0.6812, allocations: 36.53 MB / 0.6881 GB, free: 15.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6813, allocations: 0 / 0.6881 GB, free: 15.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.487e-05/0.6813, allocations: 20 kB / 0.6881 GB, free: 15.09 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.005272/0.6866, allocations: 2.001 MB / 0.6901 GB, free: 13.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.6867, allocations: 8.031 kB / 0.6901 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002516/0.6869, allocations: 122.7 kB / 0.6902 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/0.6903, allocations: 0.568 MB / 0.6908 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.692, allocations: 0.8228 MB / 0.6916 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.6923, allocations: 264.2 kB / 0.6918 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.6925, allocations: 75.91 kB / 0.6919 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.6947, allocations: 1.137 MB / 0.693 GB, free: 9.918 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.6947, allocations: 3.938 kB / 0.693 GB, free: 9.914 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-05/0.6948, allocations: 31.12 kB / 0.693 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.6949, allocations: 23.98 kB / 0.6931 GB, free: 9.863 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.697, allocations: 1.046 MB / 0.6941 GB, free: 8.812 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.006758/0.7037, allocations: 3.797 MB / 0.6978 GB, free: 4.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008007/0.7118, allocations: 2.884 MB / 0.7006 GB, free: 1.859 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.7119, allocations: 27.34 kB / 0.7006 GB, free: 1.836 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001731/0.7137, allocations: 0.8732 MB / 0.7015 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.098e-06/0.7137, allocations: 0 / 0.7015 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.03097/0.7447, allocations: 8.704 MB / 0.71 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/0.7448, allocations: 111.8 kB / 0.7101 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.7466, allocations: 0.9171 MB / 0.711 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002172/0.7469, allocations: 41.7 kB / 0.711 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/0.7473, allocations: 0.509 MB / 0.7115 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004334/0.7477, allocations: 339.1 kB / 0.7119 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.7478, allocations: 24.03 kB / 0.7119 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.748, allocations: 345.9 kB / 0.7122 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.7494, allocations: 0.6426 MB / 0.7128 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.7509, allocations: 0.7809 MB / 0.7136 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.7524, allocations: 0.7395 MB / 0.7143 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.7524, allocations: 4 kB / 0.7143 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01441/0.7668, allocations: 4.68 MB / 0.7189 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-05/0.767, allocations: 59.41 kB / 0.719 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.767, allocations: 4 kB / 0.719 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006687/0.7737, allocations: 1.893 MB / 0.7208 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.7748, allocations: 191.7 kB / 0.721 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/0.7961, allocations: 9.443 MB / 0.7302 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.798, allocations: 199 kB / 0.7304 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.7981, allocations: 43.92 kB / 0.7304 GB, free: 2.945 MB / 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.0007706/0.7989, allocations: 289.3 kB / 0.7307 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.7991, allocations: 122.5 kB / 0.7308 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/0.8128, allocations: 4.729 MB / 0.7355 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.8128, allocations: 8 kB / 0.7355 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.8128, allocations: 8 kB / 0.7355 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.92e-05/0.8129, allocations: 3.984 kB / 0.7355 GB, free: 13.75 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.01611/0.829, allocations: 6.277 MB / 0.7416 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.8291, allocations: 0 / 0.7416 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/0.8298, allocations: 99.89 kB / 0.7417 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005901/0.8357, allocations: 1.872 MB / 0.7435 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/0.8359, allocations: 25.03 kB / 0.7435 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02198/0.8579, allocations: 10.13 MB / 0.7534 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.8579, allocations: 4 kB / 0.7534 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01616/0.8741, allocations: 5.654 MB / 0.759 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008485/0.875, allocations: 223.2 kB / 0.7592 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.8753, allocations: 23.98 kB / 0.7592 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.8765, allocations: 147.9 kB / 0.7593 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006968/0.8773, allocations: 192.7 kB / 0.7595 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.8774, allocations: 39.92 kB / 0.7596 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001327/0.8787, allocations: 0.718 MB / 0.7603 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8787, allocations: 0 / 0.7603 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001742/0.8805, allocations: 439.5 kB / 0.7607 GB, free: 3.484 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01695/0.8974, allocations: 6.324 MB / 0.7669 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006395/0.9039, allocations: 2.476 MB / 0.7693 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.9039, allocations: 0.75 kB / 0.7693 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004581/0.9085, allocations: 1.79 MB / 0.771 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.9096, allocations: 107.9 kB / 0.7711 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006279/0.9159, allocations: 5.089 MB / 0.7761 GB, free: 3.469 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008024/0.9167, allocations: 1.147 MB / 0.7772 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004539/0.9172, allocations: 98.75 kB / 0.7773 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/0.9178, allocations: 467.3 kB / 0.7778 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/0.9179, allocations: 0 / 0.7778 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.318/1.236, allocations: 30.45 MB / 0.8075 GB, free: 152.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/1.236, allocations: 216.4 kB / 0.8077 GB, free: 152.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.161/4.397, allocations: 5.719 kB / 0.8077 GB, free: 152.2 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)