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.0009781/0.0009785, allocations: 175.3 kB / 15.42 MB, free: 5.898 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.286/1.286, allocations: 222.8 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007233/0.0007233, allocations: 90.3 kB / 289.8 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3017/0.3017, allocations: 78.44 MB / 418.9 MB, free: 48 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 12 kB / 498.5 MB, free: 35.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3027, allocations: 68.73 MB / 0.554 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.005952/0.3087, allocations: 5.522 MB / 0.5593 GB, free: 6.879 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003503/0.3122, allocations: 1.674 MB / 0.561 GB, free: 5.695 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005662/0.3128, allocations: 9.844 kB / 0.561 GB, free: 5.695 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.3133, allocations: 141.1 kB / 0.5611 GB, free: 5.637 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.3146, allocations: 0.5755 MB / 0.5617 GB, free: 5.262 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009999/0.3157, allocations: 471.2 kB / 0.5621 GB, free: 5.004 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.3167, allocations: 1.034 MB / 0.5631 GB, free: 4.496 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.317, allocations: 238.3 kB / 0.5634 GB, free: 4.371 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/0.3175, allocations: 410.2 kB / 0.5638 GB, free: 4.188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.318, allocations: 0.5378 MB / 0.5643 GB, free: 3.945 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-05/0.3181, allocations: 41.81 kB / 0.5643 GB, free: 3.945 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.3185, allocations: 170.9 kB / 0.5645 GB, free: 3.902 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.3187, allocations: 195.1 kB / 0.5647 GB, free: 3.789 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.319, allocations: 454 kB / 0.5651 GB, free: 3.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.3201, allocations: 1.152 MB / 0.5662 GB, free: 3.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3201, allocations: 0 / 0.5662 GB, free: 3.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3202, allocations: 4.641 kB / 0.5662 GB, free: 3.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.3202, allocations: 1.125 kB / 0.5662 GB, free: 3.047 MB / 378.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.006073/0.3263, allocations: 1.938 MB / 0.5681 GB, free: 2.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3263, allocations: 9.469 kB / 0.5681 GB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001991/0.3265, allocations: 104.8 kB / 0.5682 GB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004077/0.3306, allocations: 0.6406 MB / 0.5689 GB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/0.3315, allocations: 0.6535 MB / 0.5695 GB, free: 1.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.3316, allocations: 172.6 kB / 0.5697 GB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.3318, allocations: 64.61 kB / 0.5697 GB, free: 1.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.3335, allocations: 0.854 MB / 0.5706 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.3336, allocations: 0 / 0.5706 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/0.3336, allocations: 29.98 kB / 0.5706 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.3337, allocations: 22.16 kB / 0.5706 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.3355, allocations: 0.8906 MB / 0.5715 GB, free: 0.6836 MB / 378.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.004148/0.3397, allocations: 2.423 MB / 0.5739 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.3413, allocations: 1.037 MB / 0.5749 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.3425, allocations: 0.6329 MB / 0.5755 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.81e-05/0.3426, allocations: 13.03 kB / 0.5755 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.3427, allocations: 37.88 kB / 0.5755 GB, free: 14.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=76): time 2.555e-06/0.3427, allocations: 0 / 0.5755 GB, free: 14.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=76): time 0.02114/0.3638, allocations: 5.548 MB / 0.581 GB, free: 11.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3639, allocations: 63.69 kB / 0.581 GB, free: 11.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.365, allocations: 0.7574 MB / 0.5818 GB, free: 11.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.3652, allocations: 40.89 kB / 0.5818 GB, free: 11.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.3655, allocations: 398.5 kB / 0.5822 GB, free: 10.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.3657, allocations: 274.6 kB / 0.5824 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.3659, allocations: 90.38 kB / 0.5825 GB, free: 10.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.366, allocations: 346.1 kB / 0.5829 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.3673, allocations: 0.6001 MB / 0.5834 GB, free: 9.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.3687, allocations: 0.7096 MB / 0.5841 GB, free: 9.363 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.3713, allocations: 1.307 MB / 0.5854 GB, free: 8.656 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3714, allocations: 1.312 kB / 0.5854 GB, free: 8.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01074/0.3821, allocations: 3.486 MB / 0.5888 GB, free: 6.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3821, allocations: 5.75 kB / 0.5888 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3822, allocations: 2.375 kB / 0.5888 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004902/0.3871, allocations: 1.452 MB / 0.5902 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008865/0.388, allocations: 183.6 kB / 0.5904 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/0.4033, allocations: 7.189 MB / 0.5974 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4047, allocations: 143.1 kB / 0.5976 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.55e-05/0.4049, allocations: 35.92 kB / 0.5976 GB, free: 14.16 MB / 410.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.000476/0.4053, allocations: 219 kB / 0.5978 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.4055, allocations: 98.72 kB / 0.5979 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/0.4157, allocations: 3.227 MB / 0.6011 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.4157, allocations: 8 kB / 0.6011 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4157, allocations: 4 kB / 0.6011 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.4158, allocations: 3.984 kB / 0.6011 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.4277, allocations: 4.543 MB / 0.6055 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.4277, allocations: 0 / 0.6055 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.4284, allocations: 95.88 kB / 0.6056 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004571/0.433, allocations: 1.4 MB / 0.607 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.4331, allocations: 12 kB / 0.607 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/0.4459, allocations: 6.154 MB / 0.613 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.446, allocations: 0 / 0.613 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/0.4575, allocations: 4.045 MB / 0.6169 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/0.4579, allocations: 171.8 kB / 0.6171 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.4581, allocations: 15.98 kB / 0.6171 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008181/0.4589, allocations: 87.84 kB / 0.6172 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004796/0.4594, allocations: 164.3 kB / 0.6174 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.4595, allocations: 16 kB / 0.6174 GB, free: 9.598 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006049/0.4601, allocations: 0.5146 MB / 0.6179 GB, free: 9.086 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4601, allocations: 0 / 0.6179 GB, free: 9.086 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000944/0.461, allocations: 355.6 kB / 0.6182 GB, free: 8.738 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.01185/0.4729, allocations: 4.609 MB / 0.6227 GB, free: 4.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005165/0.4781, allocations: 2.026 MB / 0.6247 GB, free: 2.047 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.4781, allocations: 0 / 0.6247 GB, free: 2.047 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003354/0.4815, allocations: 1.252 MB / 0.6259 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/0.4822, allocations: 83.3 kB / 0.626 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03024/0.5124, allocations: 13.37 MB / 0.6391 GB, free: 3.043 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.513, allocations: 1.013 MB / 0.64 GB, free: 2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004391/0.5134, allocations: 93.45 kB / 0.6401 GB, free: 1.906 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/0.5139, allocations: 347.2 kB / 0.6405 GB, free: 1.566 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5139, allocations: 0 / 0.6405 GB, free: 1.566 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04023/0.5542, allocations: 24.58 MB / 0.6645 GB, free: 9.168 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.5543, allocations: 213.7 kB / 0.6647 GB, free: 8.914 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.125, allocations: 0 / 0.6647 GB, free: 8.914 MB / 474.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)