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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 98.77 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.331/1.331, allocations: 223.2 MB / 238.9 MB, free: 5.484 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.00126/0.001259, allocations: 177 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4445/0.4445, allocations: 79.45 MB / 420.7 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.000375, allocations: 8 kB / 0.4891 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.366, allocations: 69.51 MB / 0.557 GB, free: 37.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01403/0.38, allocations: 19.4 MB / 0.5759 GB, free: 29.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.3918, allocations: 5.19 MB / 0.581 GB, free: 25.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004766/0.3967, allocations: 51.97 kB / 0.581 GB, free: 25.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.3996, allocations: 0.6092 MB / 0.5816 GB, free: 25.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007422/0.407, allocations: 2.001 MB / 0.5836 GB, free: 24.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004927/0.412, allocations: 1.759 MB / 0.5853 GB, free: 23.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007735/0.4197, allocations: 3.731 MB / 0.5889 GB, free: 21.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002879/0.4226, allocations: 1.061 MB / 0.59 GB, free: 20.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003621/0.4263, allocations: 2.009 MB / 0.5919 GB, free: 19.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.4305, allocations: 2.533 MB / 0.5944 GB, free: 18.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001774/0.4323, allocations: 234.6 kB / 0.5946 GB, free: 18.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.4346, allocations: 354.5 kB / 0.595 GB, free: 18.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008871/0.4356, allocations: 0.8927 MB / 0.5958 GB, free: 17.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.437, allocations: 0.8337 MB / 0.5967 GB, free: 17.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004669/0.4417, allocations: 4.401 MB / 0.601 GB, free: 16.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4417, allocations: 0 / 0.601 GB, free: 16.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.4417, allocations: 0 / 0.601 GB, free: 16.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000227/0.4419, allocations: 1.094 kB / 0.601 GB, free: 16.07 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02951/0.4715, allocations: 8.459 MB / 0.6092 GB, free: 12.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4715, allocations: 11.62 kB / 0.6092 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00178/0.4733, allocations: 490.7 kB / 0.6097 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02755/0.5009, allocations: 4.05 MB / 0.6137 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007475/0.5084, allocations: 2.501 MB / 0.6161 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001002/0.5094, allocations: 0.9885 MB / 0.6171 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.5108, allocations: 345.8 kB / 0.6174 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.523, allocations: 4.933 MB / 0.6222 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-05/0.5231, allocations: 4 kB / 0.6222 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004086/0.5235, allocations: 142.3 kB / 0.6223 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.234e-05/0.5236, allocations: 87.67 kB / 0.6224 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.5337, allocations: 4.481 MB / 0.6268 GB, free: 5.355 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.03616/0.5699, allocations: 18.98 MB / 0.6453 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/0.5832, allocations: 5.725 MB / 0.6509 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005698/0.5838, allocations: 74.91 kB / 0.651 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00679/0.5906, allocations: 3.403 MB / 0.6543 GB, free: 7.812 MB / 462.1 MB Notification: Performance of pre-optimization done (n=382): time 5.33e-06/0.5906, allocations: 0 / 0.6543 GB, free: 7.812 MB / 462.1 MB Notification: Performance of matching and sorting (n=382): time 0.3246/0.9153, allocations: 81.66 MB / 0.7341 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.9154, allocations: 145.8 kB / 0.7342 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005316/0.9207, allocations: 3.195 MB / 0.7373 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001219/0.922, allocations: 89.69 kB / 0.7374 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001723/0.9237, allocations: 1.968 MB / 0.7393 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002349/0.9261, allocations: 1.309 MB / 0.7406 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004022/0.9265, allocations: 84 kB / 0.7407 GB, free: 15.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002566/0.9268, allocations: 463 kB / 0.7411 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006403/0.9332, allocations: 2.823 MB / 0.7439 GB, free: 11.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007603/0.9408, allocations: 3.435 MB / 0.7473 GB, free: 8.133 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008313/0.9492, allocations: 3.1 MB / 0.7503 GB, free: 5.016 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-05/0.9493, allocations: 4 kB / 0.7503 GB, free: 5.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.0636/1.013, allocations: 20.72 MB / 0.7705 GB, free: 252 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/1.013, allocations: 63.41 kB / 0.7706 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.539e-05/1.013, allocations: 12 kB / 0.7706 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2649/1.278, allocations: 8.625 MB / 0.779 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003581/1.282, allocations: 0.6632 MB / 0.7797 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09471/1.376, allocations: 37.31 MB / 0.8161 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006211/1.383, allocations: 0.7555 MB / 0.8168 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007234/1.383, allocations: 148.5 kB / 0.817 GB, free: 149.1 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (397): * Single equations (assignments): 394 * 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.00172/1.385, allocations: 0.6674 MB / 0.8176 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.386, allocations: 456 kB / 0.8181 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05534/1.441, allocations: 20.61 MB / 0.8382 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/1.441, allocations: 36 kB / 0.8382 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.381e-05/1.441, allocations: 28 kB / 0.8383 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.731e-05/1.442, allocations: 19.27 kB / 0.8383 GB, free: 138.4 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.06252/1.504, allocations: 25.64 MB / 0.8633 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-05/1.504, allocations: 5 kB / 0.8633 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/1.506, allocations: 383.5 kB / 0.8637 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02512/1.532, allocations: 8.706 MB / 0.8722 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008232/1.532, allocations: 71.98 kB / 0.8723 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07565/1.608, allocations: 34.52 MB / 0.906 GB, free: 71.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.608, allocations: 2.438 kB / 0.906 GB, free: 71.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06329/1.671, allocations: 24.24 MB / 0.9296 GB, free: 47.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/1.673, allocations: 0.5609 MB / 0.9302 GB, free: 46.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001466/1.675, allocations: 64.88 kB / 0.9302 GB, free: 46.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005121/1.68, allocations: 0.5074 MB / 0.9307 GB, free: 46.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002948/1.683, allocations: 0.7841 MB / 0.9315 GB, free: 45.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004059/1.683, allocations: 97.72 kB / 0.9316 GB, free: 45.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002742/1.686, allocations: 2.074 MB / 0.9336 GB, free: 43.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/1.686, allocations: 0 / 0.9336 GB, free: 43.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008319/1.694, allocations: 1.798 MB / 0.9354 GB, free: 41.55 MB / 0.5606 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 {(100,5.4%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0636/1.758, allocations: 24.96 MB / 0.9598 GB, free: 16.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02602/1.784, allocations: 10.25 MB / 0.9698 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.784, allocations: 0 / 0.9698 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.02001/1.804, allocations: 7.061 MB / 0.9767 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/1.808, allocations: 324.5 kB / 0.977 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2601/2.068, allocations: 20.76 MB / 0.9972 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/2.07, allocations: 2.543 MB / 0.9997 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001874/2.072, allocations: 370 kB / 1 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002189/2.074, allocations: 2.006 MB / 1.002 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of SimCode: time 8.41e-07/2.074, allocations: 0 / 1.002 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1596/2.234, allocations: 114.6 MB / 1.114 GB, free: 93.22 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001242/2.234, allocations: 213.6 kB / 1.114 GB, free: 92.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.302/7.536, allocations: 0 / 1.114 GB, free: 92.98 MB / 0.5762 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) Environment - environmentSimulation: