Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008968/0.0008968, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 238.9 MB, free: 5.684 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 185 kB / 290.2 MB, free: 2.375 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4411/0.4411, allocations: 79.45 MB / 420.7 MB, free: 4.008 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 8 kB / 0.4891 GB, free: 5.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3249, allocations: 69.5 MB / 0.557 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01429/0.3393, allocations: 19.57 MB / 0.5761 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.3499, allocations: 5.225 MB / 0.5812 GB, free: 25.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005046/0.355, allocations: 49.34 kB / 0.5812 GB, free: 25.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003363/0.3584, allocations: 0.6229 MB / 0.5818 GB, free: 25.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007827/0.3662, allocations: 2.01 MB / 0.5838 GB, free: 23.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005247/0.3715, allocations: 1.766 MB / 0.5855 GB, free: 23.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008054/0.3796, allocations: 3.764 MB / 0.5892 GB, free: 21.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.3816, allocations: 1.067 MB / 0.5902 GB, free: 20.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.3845, allocations: 2.026 MB / 0.5922 GB, free: 19.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00359/0.3881, allocations: 2.549 MB / 0.5947 GB, free: 18.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001296/0.3894, allocations: 237.8 kB / 0.5949 GB, free: 18.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.3911, allocations: 360.8 kB / 0.5953 GB, free: 18.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007089/0.3918, allocations: 0.8986 MB / 0.5962 GB, free: 17.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.3932, allocations: 0.8396 MB / 0.597 GB, free: 17.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004833/0.398, allocations: 4.439 MB / 0.6013 GB, free: 15.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3981, allocations: 5.156 kB / 0.6013 GB, free: 15.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3981, allocations: 0 / 0.6013 GB, free: 15.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002553/0.3983, allocations: 0 / 0.6013 GB, free: 15.9 MB / 430.1 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.02989/0.4282, allocations: 8.524 MB / 0.6096 GB, free: 12.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4283, allocations: 10.12 kB / 0.6096 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001655/0.4299, allocations: 487.1 kB / 0.6101 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02665/0.4566, allocations: 4.049 MB / 0.6141 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007292/0.4639, allocations: 2.522 MB / 0.6165 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/0.465, allocations: 0.9901 MB / 0.6175 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.4664, allocations: 352.8 kB / 0.6178 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.478, allocations: 4.947 MB / 0.6227 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/0.4781, allocations: 0.7969 kB / 0.6227 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003967/0.4785, allocations: 144.8 kB / 0.6228 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.794e-05/0.4785, allocations: 92.52 kB / 0.6229 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.4889, allocations: 4.49 MB / 0.6273 GB, free: 4.926 MB / 430.1 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.04143/0.5304, allocations: 19.05 MB / 0.6459 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01359/0.544, allocations: 5.739 MB / 0.6515 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008475/0.5449, allocations: 66.84 kB / 0.6515 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008417/0.5533, allocations: 3.427 MB / 0.6549 GB, free: 7.277 MB / 462.1 MB Notification: Performance of pre-optimization done (n=384): time 7.444e-06/0.5534, allocations: 0 / 0.6549 GB, free: 7.277 MB / 462.1 MB Notification: Performance of matching and sorting (n=384): time 0.347/0.9004, allocations: 81.14 MB / 0.7341 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.9006, allocations: 141.8 kB / 0.7343 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006508/0.9071, allocations: 3.223 MB / 0.7374 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001252/0.9084, allocations: 91.86 kB / 0.7375 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001924/0.9103, allocations: 1.974 MB / 0.7394 GB, free: 464 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00258/0.9129, allocations: 1.317 MB / 0.7407 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.914, allocations: 88 kB / 0.7408 GB, free: 15.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000401/0.9145, allocations: 463.1 kB / 0.7412 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007271/0.9217, allocations: 2.847 MB / 0.744 GB, free: 11.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007867/0.9297, allocations: 3.467 MB / 0.7474 GB, free: 8.027 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007449/0.9371, allocations: 3.128 MB / 0.7505 GB, free: 4.883 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.423e-05/0.9372, allocations: 7.953 kB / 0.7505 GB, free: 4.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06721/1.004, allocations: 20.78 MB / 0.7708 GB, free: 48 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.2481/1.253, allocations: 64.56 kB / 0.7708 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.503e-05/1.253, allocations: 13.16 kB / 0.7708 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02697/1.28, allocations: 8.614 MB / 0.7792 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003551/1.283, allocations: 0.6912 MB / 0.7799 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09434/1.378, allocations: 37.27 MB / 0.8163 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006492/1.384, allocations: 0.7525 MB / 0.8171 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006192/1.385, allocations: 153.1 kB / 0.8172 GB, free: 149 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (405): * Single equations (assignments): 402 * 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.001769/1.387, allocations: 0.6831 MB / 0.8179 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009646/1.388, allocations: 464.5 kB / 0.8183 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05374/1.441, allocations: 20.63 MB / 0.8385 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/1.441, allocations: 42.06 kB / 0.8385 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-05/1.441, allocations: 31.7 kB / 0.8385 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/1.441, allocations: 14.95 kB / 0.8385 GB, free: 138.3 MB / 0.5606 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.06125/1.503, allocations: 25.71 MB / 0.8636 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/1.503, allocations: 0 / 0.8636 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/1.505, allocations: 396.3 kB / 0.864 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02499/1.53, allocations: 8.705 MB / 0.8725 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009549/1.531, allocations: 67.98 kB / 0.8726 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07529/1.606, allocations: 34.5 MB / 0.9063 GB, free: 71.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.606, allocations: 4 kB / 0.9063 GB, free: 71.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06257/1.669, allocations: 24.28 MB / 0.93 GB, free: 47.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/1.671, allocations: 0.5653 MB / 0.9305 GB, free: 46.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001833/1.673, allocations: 63.95 kB / 0.9306 GB, free: 46.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005572/1.678, allocations: 0.5113 MB / 0.9311 GB, free: 45.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003417/1.682, allocations: 0.7849 MB / 0.9319 GB, free: 45.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007838/1.683, allocations: 93.86 kB / 0.932 GB, free: 45.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002842/1.685, allocations: 2.106 MB / 0.934 GB, free: 43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.343e-06/1.685, allocations: 0 / 0.934 GB, free: 43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006239/1.692, allocations: 1.809 MB / 0.9358 GB, free: 41.2 MB / 0.5606 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 () * Number of clocked 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 {(100,5.5%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0618/1.754, allocations: 25.02 MB / 0.9602 GB, free: 16.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02738/1.781, allocations: 10.28 MB / 0.9703 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.781, allocations: 4 kB / 0.9703 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.02122/1.802, allocations: 7.083 MB / 0.9772 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/1.806, allocations: 325.6 kB / 0.9775 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2584/2.065, allocations: 20.95 MB / 0.9979 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/2.067, allocations: 2.546 MB / 1 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001946/2.068, allocations: 377 kB / 1.001 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002132/2.071, allocations: 2.012 MB / 1.003 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/2.071, allocations: 1.312 kB / 1.003 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1653/2.236, allocations: 115.2 MB / 1.115 GB, free: 91.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001282/2.236, allocations: 212.1 kB / 1.115 GB, free: 91.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.499/7.735, allocations: 7.875 kB / 1.115 GB, free: 91.72 MB / 0.5762 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: