Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.008613/0.008613, allocations: 169.5 kB / 15.11 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.389/1.389, allocations: 223.2 MB / 239 MB, free: 1.797 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.0008394/0.0008393, allocations: 100.2 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4984/0.4984, allocations: 79.44 MB / 420.8 MB, free: 43.67 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004134, allocations: 8 kB / 0.4891 GB, free: 1.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4734, allocations: 69.5 MB / 0.557 GB, free: 38.99 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.6175, allocations: 102.2 MB / 0.6567 GB, free: 3.418 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.6178, allocations: 86.05 kB / 0.6568 GB, free: 3.336 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2587/0.8765, allocations: 102.1 MB / 0.7566 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.449e-06/0.8766, allocations: 4 kB / 0.7566 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004967/0.8771, allocations: 87.94 kB / 0.7567 GB, free: 12.48 MB / 0.5573 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.02563/0.9028, allocations: 6.589 MB / 0.7631 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.9028, allocations: 15.97 kB / 0.7631 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00246/0.9053, allocations: 488.8 kB / 0.7636 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01841/0.9237, allocations: 2.803 MB / 0.7663 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007127/0.9309, allocations: 2.276 MB / 0.7685 GB, free: 132 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3624/1.293, allocations: 0.9815 MB / 0.7695 GB, free: 90.54 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/1.295, allocations: 341.3 kB / 0.7698 GB, free: 90.54 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/1.309, allocations: 4.928 MB / 0.7746 GB, free: 90.37 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.859e-05/1.309, allocations: 3.469 kB / 0.7746 GB, free: 90.37 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005051/1.309, allocations: 141.2 kB / 0.7748 GB, free: 90.37 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.73e-05/1.31, allocations: 84.03 kB / 0.7748 GB, free: 90.37 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009872/1.319, allocations: 4.487 MB / 0.7792 GB, free: 90.34 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.03554/1.355, allocations: 18.57 MB / 0.7974 GB, free: 83.97 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/1.368, allocations: 5.664 MB / 0.8029 GB, free: 83.53 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009311/1.369, allocations: 73.55 kB / 0.803 GB, free: 83.52 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008403/1.377, allocations: 3.419 MB / 0.8063 GB, free: 83.38 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 8.185e-06/1.377, allocations: 0 / 0.8063 GB, free: 83.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.3015/1.679, allocations: 78.4 MB / 0.8829 GB, free: 75.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.679, allocations: 154.3 kB / 0.883 GB, free: 75.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006506/1.686, allocations: 2.72 MB / 0.8857 GB, free: 73.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001262/1.687, allocations: 85.7 kB / 0.8858 GB, free: 73.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/1.689, allocations: 2.009 MB / 0.8877 GB, free: 71.84 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002516/1.691, allocations: 1.292 MB / 0.889 GB, free: 70.85 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/1.692, allocations: 76 kB / 0.889 GB, free: 70.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002326/1.692, allocations: 440.1 kB / 0.8895 GB, free: 70.39 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005402/1.697, allocations: 2.656 MB / 0.8921 GB, free: 67.76 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006082/1.703, allocations: 3.237 MB / 0.8952 GB, free: 64.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005946/1.709, allocations: 2.898 MB / 0.8981 GB, free: 61.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/1.709, allocations: 4 kB / 0.8981 GB, free: 61.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05754/1.767, allocations: 20.17 MB / 0.9178 GB, free: 41.39 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/1.767, allocations: 68.17 kB / 0.9178 GB, free: 41.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/1.767, allocations: 19.52 kB / 0.9178 GB, free: 41.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02653/1.794, allocations: 8.559 MB / 0.9262 GB, free: 32.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003984/1.798, allocations: 0.5546 MB / 0.9267 GB, free: 32.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09694/1.895, allocations: 37.11 MB / 0.963 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007486/1.902, allocations: 0.7229 MB / 0.9637 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/1.904, allocations: 132 kB / 0.9638 GB, free: 10.16 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.004444/1.908, allocations: 0.6462 MB / 0.9644 GB, free: 9.543 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002628/1.911, allocations: 462.3 kB / 0.9649 GB, free: 9.086 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06536/1.976, allocations: 20.55 MB / 0.9849 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.65e-05/1.976, allocations: 36 kB / 0.985 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000136/1.976, allocations: 34.33 kB / 0.985 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001493/1.977, allocations: 19.92 kB / 0.985 GB, free: 4.41 MB / 0.5886 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.4596/2.436, allocations: 25.49 MB / 1.01 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-05/2.436, allocations: 2.812 kB / 1.01 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/2.439, allocations: 390.4 kB / 1.01 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02968/2.469, allocations: 8.613 MB / 1.019 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001379/2.47, allocations: 71.02 kB / 1.019 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08746/2.558, allocations: 34.33 MB / 1.052 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/2.558, allocations: 0 / 1.052 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06535/2.623, allocations: 24.18 MB / 1.076 GB, free: 98.14 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/2.625, allocations: 0.567 MB / 1.076 GB, free: 97.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/2.626, allocations: 60.78 kB / 1.077 GB, free: 97.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004646/2.631, allocations: 0.5039 MB / 1.077 GB, free: 97.64 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003716/2.634, allocations: 0.7848 MB / 1.078 GB, free: 97.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003709/2.635, allocations: 94.88 kB / 1.078 GB, free: 97.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003806/2.639, allocations: 2.08 MB / 1.08 GB, free: 96.74 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/2.639, allocations: 0 / 1.08 GB, free: 96.74 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009382/2.648, allocations: 1.762 MB / 1.082 GB, free: 96.53 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.06444/2.712, allocations: 24.92 MB / 1.106 GB, free: 86.05 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02563/2.738, allocations: 9.947 MB / 1.116 GB, free: 77.49 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/2.738, allocations: 0 / 1.116 GB, free: 77.49 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02066/2.759, allocations: 7.018 MB / 1.123 GB, free: 71.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004478/2.763, allocations: 308.8 kB / 1.123 GB, free: 71.23 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/2.789, allocations: 20.91 MB / 1.143 GB, free: 50.85 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/2.791, allocations: 2.541 MB / 1.146 GB, free: 48.95 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001739/2.793, allocations: 296.1 kB / 1.146 GB, free: 48.75 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/2.795, allocations: 1.971 MB / 1.148 GB, free: 46.93 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/2.795, allocations: 3.938 kB / 1.148 GB, free: 46.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.539/3.334, allocations: 112.1 MB / 1.257 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/3.334, allocations: 212.3 kB / 1.258 GB, free: 122.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/10.32, allocations: 0 / 1.258 GB, free: 122.9 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)