Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.001005/0.001005, allocations: 174.1 kB / 12.73 MB, free: 2.59 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.231/1.231, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008994/0.0008997, allocations: 95.39 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4527/0.4527, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.65e-05, allocations: 4 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3085, allocations: 69.34 MB / 0.5481 GB, free: 20.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.4254, allocations: 102.5 MB / 0.6482 GB, free: 13.87 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4257, allocations: 79.95 kB / 0.6483 GB, free: 13.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5121/0.9378, allocations: 100.9 MB / 0.7468 GB, free: 60.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.9378, allocations: 3.984 kB / 0.7468 GB, free: 60.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002753/0.9381, allocations: 91.94 kB / 0.7469 GB, free: 60.81 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01772/0.9558, allocations: 5.778 MB / 0.7526 GB, free: 54.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.9559, allocations: 15.97 kB / 0.7526 GB, free: 54.94 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001366/0.9573, allocations: 496.8 kB / 0.7531 GB, free: 54.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.9734, allocations: 2.783 MB / 0.7558 GB, free: 51.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004781/0.9782, allocations: 2.249 MB / 0.758 GB, free: 49.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008064/0.979, allocations: 0.9847 MB / 0.7589 GB, free: 48.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.9803, allocations: 344 kB / 0.7593 GB, free: 47.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006834/0.9871, allocations: 4.088 MB / 0.7632 GB, free: 43.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-05/0.9872, allocations: 0 / 0.7632 GB, free: 43.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003678/0.9876, allocations: 148 kB / 0.7634 GB, free: 43.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.9876, allocations: 84 kB / 0.7635 GB, free: 43.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006027/0.9937, allocations: 3.624 MB / 0.767 GB, free: 39.89 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.03017/1.024, allocations: 18.65 MB / 0.7852 GB, free: 20.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009322/1.033, allocations: 4.813 MB / 0.7899 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/1.037, allocations: 2.23 MB / 0.7921 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/1.037, allocations: 66.92 kB / 0.7922 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003719/1.041, allocations: 2.616 MB / 0.7947 GB, free: 10.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=384): time 5.49e-06/1.041, allocations: 0 / 0.7947 GB, free: 10.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=384): time 0.04874/1.09, allocations: 17.6 MB / 0.8119 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/1.09, allocations: 145.8 kB / 0.812 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004063/1.094, allocations: 2.678 MB / 0.8147 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008546/1.095, allocations: 89.7 kB / 0.8147 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/1.096, allocations: 2.002 MB / 0.8167 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001697/1.098, allocations: 1.309 MB / 0.818 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/1.098, allocations: 68 kB / 0.818 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002075/1.099, allocations: 445.8 kB / 0.8185 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003162/1.102, allocations: 1.847 MB / 0.8203 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003398/1.105, allocations: 2.418 MB / 0.8226 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003311/1.108, allocations: 2.111 MB / 0.8247 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/1.108, allocations: 4 kB / 0.8247 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05133/1.16, allocations: 17.76 MB / 0.842 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8e-05/1.16, allocations: 67.34 kB / 0.8421 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/1.16, allocations: 16 kB / 0.8421 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02322/1.183, allocations: 6.973 MB / 0.8489 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00327/1.186, allocations: 0.5733 MB / 0.8495 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05733/1.244, allocations: 25.74 MB / 0.8746 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006476/1.25, allocations: 0.7074 MB / 0.8753 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008591/1.251, allocations: 136 kB / 0.8754 GB, free: 6.895 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (333): * Single equations (assignments): 330 * 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.0009022/1.252, allocations: 327.1 kB / 0.8758 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/1.254, allocations: 462.2 kB / 0.8762 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05229/1.306, allocations: 18.15 MB / 0.8939 GB, free: 3.875 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-05/1.306, allocations: 39.94 kB / 0.894 GB, free: 3.836 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.678e-05/1.306, allocations: 28 kB / 0.894 GB, free: 3.809 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001238/1.306, allocations: 15.94 kB / 0.894 GB, free: 3.793 MB / 0.573 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.3987/1.705, allocations: 23.11 MB / 0.9166 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-05/1.705, allocations: 0 / 0.9166 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/1.707, allocations: 390 kB / 0.9169 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02058/1.728, allocations: 7.019 MB / 0.9238 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001024/1.729, allocations: 75.12 kB / 0.9239 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04952/1.778, allocations: 24.57 MB / 0.9479 GB, free: 129.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.778, allocations: 3.906 kB / 0.9479 GB, free: 129.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0516/1.83, allocations: 20.99 MB / 0.9684 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/1.832, allocations: 0.5662 MB / 0.9689 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00186/1.834, allocations: 71.45 kB / 0.969 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004958/1.839, allocations: 0.4943 MB / 0.9695 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003059/1.842, allocations: 0.7767 MB / 0.9702 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004372/1.842, allocations: 98.86 kB / 0.9703 GB, free: 118.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002846/1.845, allocations: 2.03 MB / 0.9723 GB, free: 116.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.845, allocations: 0 / 0.9723 GB, free: 116.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005405/1.851, allocations: 1.77 MB / 0.974 GB, free: 114.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * 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 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05272/1.903, allocations: 21.74 MB / 0.9953 GB, free: 96.69 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0213/1.925, allocations: 8.236 MB / 1.003 GB, free: 89.16 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.925, allocations: 5.812 kB / 1.003 GB, free: 89.16 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01726/1.942, allocations: 6.119 MB / 1.009 GB, free: 83.73 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/1.945, allocations: 303.9 kB / 1.01 GB, free: 83.45 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/1.959, allocations: 6.665 MB / 1.016 GB, free: 77.49 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/1.961, allocations: 2.543 MB / 1.019 GB, free: 75.59 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001468/1.962, allocations: 297.6 kB / 1.019 GB, free: 75.39 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/1.964, allocations: 1.976 MB / 1.021 GB, free: 73.57 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/1.964, allocations: 0 / 1.021 GB, free: 73.57 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4416/2.406, allocations: 114 MB / 1.132 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/2.406, allocations: 185.9 kB / 1.132 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.031/8.437, allocations: 4 kB / 1.132 GB, free: 155.5 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)