Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_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.001311/0.001311, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 239.3 MB, free: 4.605 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.001493/0.001493, allocations: 191.6 kB / 289.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5018/0.5018, allocations: 91.91 MB / 431.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001609, allocations: 83.86 kB / 0.502 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.345, allocations: 71.26 MB / 0.5716 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005537/0.3506, allocations: 6.721 MB / 0.5781 GB, free: 32.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.3542, allocations: 2.016 MB / 0.5801 GB, free: 31.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008182/0.355, allocations: 15.06 kB / 0.5801 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007157/0.3558, allocations: 242.8 kB / 0.5804 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.3578, allocations: 0.8223 MB / 0.5812 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.359, allocations: 0.6389 MB / 0.5818 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.3605, allocations: 1.658 MB / 0.5834 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004385/0.361, allocations: 332.1 kB / 0.5837 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007087/0.3617, allocations: 0.6859 MB / 0.5844 GB, free: 29.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007775/0.3625, allocations: 0.8765 MB / 0.5852 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.3627, allocations: 134.1 kB / 0.5854 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.3632, allocations: 272.5 kB / 0.5856 GB, free: 28.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.3634, allocations: 352.3 kB / 0.586 GB, free: 28.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005108/0.3639, allocations: 0.6976 MB / 0.5866 GB, free: 27.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.3655, allocations: 1.708 MB / 0.5883 GB, free: 27.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3656, allocations: 1.156 kB / 0.5883 GB, free: 27.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3656, allocations: 4 kB / 0.5883 GB, free: 27.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.3656, allocations: 0 / 0.5883 GB, free: 27.09 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009878/0.3755, allocations: 2.791 MB / 0.591 GB, free: 25.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.3756, allocations: 9.656 kB / 0.5911 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.3757, allocations: 127.2 kB / 0.5912 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005107/0.3808, allocations: 0.7773 MB / 0.5919 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.3827, allocations: 0.9199 MB / 0.5928 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/0.383, allocations: 254.8 kB / 0.5931 GB, free: 24.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.3831, allocations: 86.88 kB / 0.5932 GB, free: 24.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.3853, allocations: 1.125 MB / 0.5943 GB, free: 24.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.3853, allocations: 1.25 kB / 0.5943 GB, free: 24.24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/0.3854, allocations: 34.5 kB / 0.5943 GB, free: 24.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.3855, allocations: 18.41 kB / 0.5943 GB, free: 24.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.3875, allocations: 0.9995 MB / 0.5953 GB, free: 23.88 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.007438/0.395, allocations: 3.918 MB / 0.5991 GB, free: 21.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00793/0.4029, allocations: 2.404 MB / 0.6015 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.4046, allocations: 0.6926 MB / 0.6021 GB, free: 20.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.4047, allocations: 17.97 kB / 0.6022 GB, free: 20.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/0.4065, allocations: 0.8427 MB / 0.603 GB, free: 20.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.056e-06/0.4065, allocations: 0 / 0.603 GB, free: 20.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02982/0.4363, allocations: 7.086 MB / 0.6099 GB, free: 18.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.4364, allocations: 118.8 kB / 0.61 GB, free: 18.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.4386, allocations: 1.137 MB / 0.6111 GB, free: 18.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.4388, allocations: 47.44 kB / 0.6112 GB, free: 18.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.4391, allocations: 0.4949 MB / 0.6116 GB, free: 17.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.4395, allocations: 370 kB / 0.612 GB, free: 17.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005172/0.44, allocations: 294.8 kB / 0.6123 GB, free: 17.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.44, allocations: 301.1 kB / 0.6126 GB, free: 16.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.4419, allocations: 0.7981 MB / 0.6133 GB, free: 16.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.4437, allocations: 0.9709 MB / 0.6143 GB, free: 15.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02463/0.4684, allocations: 5.949 MB / 0.6201 GB, free: 12.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.4684, allocations: 4 kB / 0.6201 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01273/0.4812, allocations: 4.504 MB / 0.6245 GB, free: 7.801 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.4812, allocations: 63.34 kB / 0.6246 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4813, allocations: 4 kB / 0.6246 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005751/0.487, allocations: 1.674 MB / 0.6262 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.4884, allocations: 295.6 kB / 0.6265 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/0.5073, allocations: 8.615 MB / 0.6349 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.5096, allocations: 210.6 kB / 0.6351 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.5097, allocations: 59.97 kB / 0.6352 GB, free: 12.72 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006307/0.5104, allocations: 307.5 kB / 0.6355 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.5106, allocations: 130.4 kB / 0.6356 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/0.5237, allocations: 3.924 MB / 0.6394 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.5237, allocations: 8 kB / 0.6394 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.5237, allocations: 12 kB / 0.6394 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/0.5238, allocations: 3.984 kB / 0.6394 GB, free: 8.301 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01501/0.5388, allocations: 5.559 MB / 0.6449 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.5388, allocations: 4 kB / 0.6449 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007305/0.5396, allocations: 99.89 kB / 0.645 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005716/0.5453, allocations: 1.599 MB / 0.6465 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/0.5455, allocations: 19.98 kB / 0.6465 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02043/0.566, allocations: 9.638 MB / 0.656 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.566, allocations: 4.062 kB / 0.656 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/0.5808, allocations: 4.803 MB / 0.6606 GB, free: 2.129 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/0.5813, allocations: 235.1 kB / 0.6609 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.5816, allocations: 20 kB / 0.6609 GB, free: 1.859 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.5828, allocations: 111.9 kB / 0.661 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005583/0.5834, allocations: 192.7 kB / 0.6612 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.75e-05/0.5835, allocations: 27.98 kB / 0.6612 GB, free: 1.535 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.5846, allocations: 0.7713 MB / 0.662 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5846, allocations: 0 / 0.662 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001342/0.5859, allocations: 491.5 kB / 0.6624 GB, free: 284 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01517/0.6011, allocations: 5.394 MB / 0.6677 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007626/0.6088, allocations: 2.66 MB / 0.6703 GB, free: 8.133 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6088, allocations: 0 / 0.6703 GB, free: 8.133 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00433/0.6131, allocations: 1.619 MB / 0.6719 GB, free: 6.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.6142, allocations: 118.6 kB / 0.672 GB, free: 6.367 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04033/0.6546, allocations: 17.58 MB / 0.6892 GB, free: 4.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/0.6553, allocations: 1.128 MB / 0.6903 GB, free: 3.168 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005058/0.6558, allocations: 128.3 kB / 0.6904 GB, free: 3.039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006027/0.6564, allocations: 487.3 kB / 0.6908 GB, free: 2.562 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6564, allocations: 0 / 0.6908 GB, free: 2.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06287/0.7193, allocations: 35.16 MB / 0.7252 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.93, allocations: 8.875 kB / 0.7252 GB, free: 15.58 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)