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.0007997/0.0007998, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.439/1.439, allocations: 223.3 MB / 239 MB, free: 5.609 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.001472/0.001472, allocations: 184.5 kB / 290.3 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4943/0.4943, allocations: 79.47 MB / 420.8 MB, free: 3.887 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003666, allocations: 8 kB / 0.4892 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4152, allocations: 69.51 MB / 0.5571 GB, free: 37.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.0147/0.43, allocations: 20.98 MB / 0.5776 GB, free: 28.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.4413, allocations: 4.967 MB / 0.5824 GB, free: 25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004888/0.4462, allocations: 56.06 kB / 0.5825 GB, free: 25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.4492, allocations: 0.6085 MB / 0.5831 GB, free: 24.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007566/0.4568, allocations: 1.77 MB / 0.5848 GB, free: 23.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005315/0.4621, allocations: 1.758 MB / 0.5865 GB, free: 22.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00812/0.4703, allocations: 5.225 MB / 0.5916 GB, free: 19.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003269/0.4736, allocations: 1.064 MB / 0.5927 GB, free: 19.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004062/0.4777, allocations: 2.013 MB / 0.5946 GB, free: 18.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004649/0.4823, allocations: 2.618 MB / 0.5972 GB, free: 17.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002075/0.4844, allocations: 236.8 kB / 0.5974 GB, free: 17.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.4875, allocations: 369.9 kB / 0.5978 GB, free: 17.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002326/0.4899, allocations: 0.9045 MB / 0.5987 GB, free: 16.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002775/0.4927, allocations: 0.8443 MB / 0.5995 GB, free: 16.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00666/0.4994, allocations: 4.666 MB / 0.604 GB, free: 14.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4994, allocations: 4 kB / 0.604 GB, free: 14.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4994, allocations: 0 / 0.604 GB, free: 14.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003346/0.4997, allocations: 0 / 0.604 GB, free: 14.72 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.02991/0.5297, allocations: 8.521 MB / 0.6124 GB, free: 11.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5297, allocations: 10.41 kB / 0.6124 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002141/0.5319, allocations: 485.3 kB / 0.6128 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02613/0.558, allocations: 4.054 MB / 0.6168 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008572/0.5666, allocations: 2.521 MB / 0.6192 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001174/0.5678, allocations: 0.9891 MB / 0.6202 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001877/0.5697, allocations: 356.1 kB / 0.6206 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.015/0.5847, allocations: 4.981 MB / 0.6254 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.5849, allocations: 1.688 kB / 0.6254 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001162/0.5861, allocations: 141.1 kB / 0.6256 GB, free: 5.859 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-05/0.5862, allocations: 87.8 kB / 0.6256 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009855/0.596, allocations: 4.487 MB / 0.63 GB, free: 2.176 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.03961/0.6357, allocations: 18.86 MB / 0.6484 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.6487, allocations: 5.733 MB / 0.654 GB, free: 8.312 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006487/0.6552, allocations: 3.04 MB / 0.657 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008646/0.6561, allocations: 82.91 kB / 0.6571 GB, free: 5.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007811/0.664, allocations: 3.428 MB / 0.6604 GB, free: 1.711 MB / 462.1 MB Notification: Performance of pre-optimization done (n=384): time 7.193e-06/0.664, allocations: 0 / 0.6604 GB, free: 1.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=384): time 0.2834/0.9474, allocations: 80.93 MB / 0.7395 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/0.9476, allocations: 145.8 kB / 0.7396 GB, free: 424 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00516/0.9527, allocations: 3.227 MB / 0.7428 GB, free: 13.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001155/0.9539, allocations: 89.7 kB / 0.7428 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.9554, allocations: 1.974 MB / 0.7448 GB, free: 11.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002102/0.9576, allocations: 1.317 MB / 0.7461 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003496/0.9579, allocations: 83.84 kB / 0.7461 GB, free: 9.672 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002376/0.9582, allocations: 463.1 kB / 0.7466 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005702/0.9639, allocations: 2.855 MB / 0.7494 GB, free: 6.348 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0061/0.97, allocations: 3.479 MB / 0.7528 GB, free: 2.648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006281/0.9763, allocations: 3.139 MB / 0.7558 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-05/0.9763, allocations: 4 kB / 0.7558 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.3666/1.343, allocations: 20.77 MB / 0.7761 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.717e-05/1.343, allocations: 65.77 kB / 0.7762 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/1.343, allocations: 14.84 kB / 0.7762 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02572/1.369, allocations: 8.613 MB / 0.7846 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/1.372, allocations: 0.6899 MB / 0.7853 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09267/1.465, allocations: 35.41 MB / 0.8199 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006515/1.472, allocations: 0.7516 MB / 0.8206 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/1.473, allocations: 150.1 kB / 0.8207 GB, free: 150.1 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.002222/1.475, allocations: 0.678 MB / 0.8214 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/1.476, allocations: 464.8 kB / 0.8218 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05014/1.527, allocations: 20.63 MB / 0.842 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.614e-05/1.527, allocations: 36 kB / 0.842 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.424e-05/1.527, allocations: 28 kB / 0.8421 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001249/1.527, allocations: 19.94 kB / 0.8421 GB, free: 137.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.0587/1.586, allocations: 25.65 MB / 0.8671 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/1.586, allocations: 0 / 0.8671 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002203/1.588, allocations: 394.3 kB / 0.8675 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02298/1.611, allocations: 8.708 MB / 0.876 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001311/1.612, allocations: 75.03 kB / 0.8761 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0758/1.688, allocations: 32.63 MB / 0.9079 GB, free: 69.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.688, allocations: 4 kB / 0.9079 GB, free: 69.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05847/1.747, allocations: 24.26 MB / 0.9316 GB, free: 45.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/1.749, allocations: 0.5648 MB / 0.9322 GB, free: 44.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001947/1.751, allocations: 63.98 kB / 0.9322 GB, free: 44.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005206/1.756, allocations: 0.5073 MB / 0.9327 GB, free: 44.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003308/1.759, allocations: 0.788 MB / 0.9335 GB, free: 43.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005216/1.76, allocations: 92.97 kB / 0.9336 GB, free: 43.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00299/1.763, allocations: 2.106 MB / 0.9357 GB, free: 41.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.2e-07/1.763, allocations: 4 kB / 0.9357 GB, free: 41.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006595/1.769, allocations: 1.802 MB / 0.9374 GB, free: 39.24 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.05774/1.827, allocations: 24.93 MB / 0.9618 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02512/1.852, allocations: 10.3 MB / 0.9718 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.852, allocations: 0 / 0.9718 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01924/1.872, allocations: 7.075 MB / 0.9787 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00689/1.879, allocations: 385.9 kB / 0.9791 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3775/2.256, allocations: 51.44 MB / 1.029 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/2.258, allocations: 2.457 MB / 1.032 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001894/2.26, allocations: 373 kB / 1.032 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002332/2.263, allocations: 2.014 MB / 1.034 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/2.263, allocations: 1.031 kB / 1.034 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/2.413, allocations: 117.5 MB / 1.149 GB, free: 58.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001305/2.413, allocations: 216.6 kB / 1.149 GB, free: 58.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.965/8.378, allocations: 5.812 kB / 1.149 GB, free: 58.17 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: