Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.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 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.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.001002/0.001002, allocations: 181.1 kB / 15.45 MB, free: 6.23 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.431/1.431, allocations: 223.3 MB / 239.5 MB, free: 1.602 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008982, allocations: 88.8 kB / 290.6 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5449/0.5449, allocations: 78.62 MB / 420.4 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004188, allocations: 8 kB / 0.4889 GB, free: 2.406 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4377, allocations: 69.34 MB / 0.5566 GB, free: 39.12 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.004659/0.4424, allocations: 5.098 MB / 0.5616 GB, free: 37.17 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.4455, allocations: 1.652 MB / 0.5632 GB, free: 36.47 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005615/0.4461, allocations: 9.688 kB / 0.5632 GB, free: 36.47 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.4465, allocations: 139.7 kB / 0.5633 GB, free: 36.42 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.448, allocations: 0.5607 MB / 0.5639 GB, free: 36.15 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.4491, allocations: 474.2 kB / 0.5643 GB, free: 36.06 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.4506, allocations: 1.021 MB / 0.5653 GB, free: 35.81 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004771/0.4511, allocations: 240.4 kB / 0.5655 GB, free: 35.74 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007402/0.4518, allocations: 417 kB / 0.5659 GB, free: 35.61 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006709/0.4525, allocations: 0.5386 MB / 0.5665 GB, free: 35.38 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.4527, allocations: 46.09 kB / 0.5665 GB, free: 35.38 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.4532, allocations: 175.1 kB / 0.5667 GB, free: 35.33 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.4534, allocations: 188.4 kB / 0.5669 GB, free: 35.22 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.4538, allocations: 479.5 kB / 0.5673 GB, free: 34.9 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.4548, allocations: 1.147 MB / 0.5684 GB, free: 34.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4548, allocations: 0 / 0.5684 GB, free: 34.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4548, allocations: 1.188 kB / 0.5684 GB, free: 34.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.4549, allocations: 0 / 0.5684 GB, free: 34.46 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.006009/0.4609, allocations: 1.994 MB / 0.5704 GB, free: 33.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.461, allocations: 12.97 kB / 0.5704 GB, free: 33.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.4611, allocations: 111.9 kB / 0.5705 GB, free: 33.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003714/0.4649, allocations: 0.6467 MB / 0.5711 GB, free: 33.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.4657, allocations: 0.6501 MB / 0.5718 GB, free: 32.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.4659, allocations: 186.5 kB / 0.572 GB, free: 32.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.466, allocations: 61.53 kB / 0.572 GB, free: 32.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.4675, allocations: 0.9252 MB / 0.5729 GB, free: 32.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.4676, allocations: 0 / 0.5729 GB, free: 32.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.4676, allocations: 26.44 kB / 0.5729 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.4677, allocations: 18.5 kB / 0.573 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.4694, allocations: 0.972 MB / 0.5739 GB, free: 32.07 MB / 426.7 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.003555/0.473, allocations: 2.485 MB / 0.5763 GB, free: 30.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.4744, allocations: 1.095 MB / 0.5774 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.4756, allocations: 0.6974 MB / 0.5781 GB, free: 29.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.541e-05/0.4757, allocations: 13.48 kB / 0.5781 GB, free: 29.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.4757, allocations: 42.16 kB / 0.5781 GB, free: 29.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=76): time 2.104e-06/0.4757, allocations: 0 / 0.5781 GB, free: 29.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=76): time 0.02044/0.4962, allocations: 6.818 MB / 0.5848 GB, free: 28.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.4962, allocations: 59.91 kB / 0.5849 GB, free: 28.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00089/0.4971, allocations: 0.7519 MB / 0.5856 GB, free: 28.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001574/0.4973, allocations: 40.64 kB / 0.5856 GB, free: 28.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.4975, allocations: 403.8 kB / 0.586 GB, free: 27.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.4977, allocations: 272.7 kB / 0.5863 GB, free: 27.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.4979, allocations: 90.8 kB / 0.5864 GB, free: 27.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.4979, allocations: 355.6 kB / 0.5867 GB, free: 27.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.4992, allocations: 0.6687 MB / 0.5873 GB, free: 27.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.5005, allocations: 0.7734 MB / 0.5881 GB, free: 26.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/0.5031, allocations: 1.437 MB / 0.5895 GB, free: 26.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.5031, allocations: 2.781 kB / 0.5895 GB, free: 26.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01194/0.515, allocations: 4.233 MB / 0.5936 GB, free: 25.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.5151, allocations: 4.719 kB / 0.5936 GB, free: 25.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.5151, allocations: 2.531 kB / 0.5937 GB, free: 25.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005149/0.5203, allocations: 1.695 MB / 0.5953 GB, free: 24.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009403/0.5212, allocations: 190.2 kB / 0.5955 GB, free: 24.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.5377, allocations: 7.982 MB / 0.6033 GB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.539, allocations: 172.8 kB / 0.6034 GB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.23e-05/0.5391, allocations: 35.25 kB / 0.6035 GB, free: 21.2 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(19,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003822/0.5395, allocations: 225 kB / 0.6037 GB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.5396, allocations: 104.7 kB / 0.6038 GB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.5511, allocations: 3.954 MB / 0.6077 GB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.5512, allocations: 7.906 kB / 0.6077 GB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5512, allocations: 0 / 0.6077 GB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/0.5512, allocations: 5.125 kB / 0.6077 GB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.5639, allocations: 5.29 MB / 0.6128 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.564, allocations: 7.938 kB / 0.6128 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006209/0.5646, allocations: 103.9 kB / 0.6129 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004554/0.5691, allocations: 1.655 MB / 0.6146 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/0.5693, allocations: 12 kB / 0.6146 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/0.582, allocations: 6.84 MB / 0.6212 GB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5821, allocations: 4 kB / 0.6213 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/0.5937, allocations: 4.845 MB / 0.626 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003293/0.5941, allocations: 183.8 kB / 0.6262 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.5942, allocations: 12 kB / 0.6262 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000809/0.595, allocations: 123.8 kB / 0.6263 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004989/0.5955, allocations: 156.4 kB / 0.6264 GB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.5956, allocations: 24.09 kB / 0.6265 GB, free: 1.941 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005667/0.5962, allocations: 0.5107 MB / 0.627 GB, free: 1.434 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5962, allocations: 0 / 0.627 GB, free: 1.434 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001182/0.5974, allocations: 359.6 kB / 0.6273 GB, free: 1.082 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01266/0.61, allocations: 5.432 MB / 0.6326 GB, free: 11.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006009/0.6161, allocations: 2.277 MB / 0.6348 GB, free: 9.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6161, allocations: 0 / 0.6348 GB, free: 9.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004049/0.6202, allocations: 1.45 MB / 0.6362 GB, free: 7.855 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.6214, allocations: 84.44 kB / 0.6363 GB, free: 7.777 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03286/0.6543, allocations: 14.97 MB / 0.6509 GB, free: 8.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.6548, allocations: 1.013 MB / 0.6519 GB, free: 7.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003836/0.6552, allocations: 93.45 kB / 0.652 GB, free: 7.387 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/0.6556, allocations: 343.3 kB / 0.6524 GB, free: 7.051 MB / 458.7 MB Notification: Performance of SimCode: time 7.82e-07/0.6556, allocations: 0 / 0.6524 GB, free: 7.051 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.6981, allocations: 24.57 MB / 0.6763 GB, free: 14.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.6984, allocations: 217.6 kB / 0.6766 GB, free: 14.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/3.458, allocations: 4 kB / 0.6766 GB, free: 14.39 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)