Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.346/1.346, allocations: 222.9 MB / 238.8 MB, free: 4.77 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.001299/0.001299, allocations: 196.4 kB / 289.1 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4653/0.4653, allocations: 78.52 MB / 417.8 MB, free: 3.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 75.88 kB / 496.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1539, allocations: 68.18 MB / 0.5518 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.249/0.4029, allocations: 5.502 MB / 0.5572 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.4063, allocations: 1.684 MB / 0.5588 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009043/0.4072, allocations: 11.81 kB / 0.5588 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006699/0.4079, allocations: 140 kB / 0.559 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.4097, allocations: 0.5635 MB / 0.5595 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009735/0.4106, allocations: 477.1 kB / 0.56 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009772/0.4116, allocations: 1.032 MB / 0.561 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.412, allocations: 231.5 kB / 0.5612 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.4125, allocations: 434.5 kB / 0.5616 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005115/0.413, allocations: 0.5663 MB / 0.5622 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.4131, allocations: 52.66 kB / 0.5622 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.4135, allocations: 181.5 kB / 0.5624 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.4137, allocations: 209.9 kB / 0.5626 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.414, allocations: 472.1 kB / 0.563 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008432/0.4148, allocations: 1.182 MB / 0.5642 GB, free: 35.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4149, allocations: 0 / 0.5642 GB, free: 35.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4149, allocations: 0.5625 kB / 0.5642 GB, free: 35.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4149, allocations: 0 / 0.5642 GB, free: 35.27 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.006165/0.4211, allocations: 2.133 MB / 0.5663 GB, free: 34.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4211, allocations: 11.97 kB / 0.5663 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.4212, allocations: 103.3 kB / 0.5664 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00387/0.4251, allocations: 0.6416 MB / 0.567 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007719/0.4259, allocations: 0.6521 MB / 0.5676 GB, free: 34.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.4261, allocations: 179.8 kB / 0.5678 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.4262, allocations: 65.5 kB / 0.5679 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.4278, allocations: 0.8553 MB / 0.5687 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.4278, allocations: 0 / 0.5687 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.4279, allocations: 27.75 kB / 0.5687 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.4279, allocations: 18.16 kB / 0.5688 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.4296, allocations: 0.8911 MB / 0.5696 GB, free: 33.84 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.00357/0.4332, allocations: 2.415 MB / 0.572 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.4345, allocations: 1.022 MB / 0.573 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.4357, allocations: 0.6333 MB / 0.5736 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.656e-05/0.4358, allocations: 17.11 kB / 0.5736 GB, free: 32.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.4358, allocations: 49.03 kB / 0.5737 GB, free: 32.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.4358, allocations: 0 / 0.5737 GB, free: 32.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.02059/0.4564, allocations: 5.539 MB / 0.5791 GB, free: 32.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.4565, allocations: 62.73 kB / 0.5791 GB, free: 32.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.4575, allocations: 0.7578 MB / 0.5799 GB, free: 31.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.4577, allocations: 36.77 kB / 0.5799 GB, free: 31.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.458, allocations: 401.5 kB / 0.5803 GB, free: 31.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.4582, allocations: 274.8 kB / 0.5806 GB, free: 31.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003445/0.4586, allocations: 180.3 kB / 0.5807 GB, free: 31.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.4587, allocations: 344.1 kB / 0.5811 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.4599, allocations: 0.6042 MB / 0.5816 GB, free: 30.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.4612, allocations: 0.7098 MB / 0.5823 GB, free: 30.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002631/0.4639, allocations: 1.305 MB / 0.5836 GB, free: 29.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.4639, allocations: 5.125 kB / 0.5836 GB, free: 29.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01082/0.4747, allocations: 3.481 MB / 0.587 GB, free: 29.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.4748, allocations: 5.438 kB / 0.587 GB, free: 29.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.4748, allocations: 4.734 kB / 0.587 GB, free: 29.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005274/0.4801, allocations: 1.447 MB / 0.5884 GB, free: 28.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009814/0.4811, allocations: 186.2 kB / 0.5886 GB, free: 28.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/0.4978, allocations: 7.192 MB / 0.5956 GB, free: 25.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.4993, allocations: 141.8 kB / 0.5958 GB, free: 25.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.4995, allocations: 35.61 kB / 0.5958 GB, free: 25.22 MB / 430.1 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.0004215/0.4999, allocations: 220.3 kB / 0.596 GB, free: 25.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.5001, allocations: 94.89 kB / 0.5961 GB, free: 25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/0.5104, allocations: 3.219 MB / 0.5992 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.5105, allocations: 8.422 kB / 0.5993 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5105, allocations: 3.203 kB / 0.5993 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.5105, allocations: 4.625 kB / 0.5993 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.5232, allocations: 4.543 MB / 0.6037 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.5232, allocations: 0 / 0.6037 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.5238, allocations: 103 kB / 0.6038 GB, free: 22.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004688/0.5285, allocations: 1.4 MB / 0.6052 GB, free: 22.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.5287, allocations: 19.3 kB / 0.6052 GB, free: 22.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/0.5414, allocations: 6.149 MB / 0.6112 GB, free: 18.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5414, allocations: 0 / 0.6112 GB, free: 18.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.5519, allocations: 4.047 MB / 0.6151 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.5523, allocations: 179.9 kB / 0.6153 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.5524, allocations: 12 kB / 0.6153 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007937/0.5532, allocations: 83.84 kB / 0.6154 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005354/0.5537, allocations: 161.7 kB / 0.6156 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.5538, allocations: 27.98 kB / 0.6156 GB, free: 13.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005772/0.5544, allocations: 0.5107 MB / 0.6161 GB, free: 13.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5544, allocations: 0 / 0.6161 GB, free: 13.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001125/0.5555, allocations: 361.5 kB / 0.6164 GB, free: 12.8 MB / 430.1 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.01062/0.5662, allocations: 4.617 MB / 0.6209 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005022/0.5712, allocations: 2.017 MB / 0.6229 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.5713, allocations: 0 / 0.6229 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003346/0.5746, allocations: 1.262 MB / 0.6241 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008549/0.5755, allocations: 72.14 kB / 0.6242 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/0.6054, allocations: 13.37 MB / 0.6373 GB, free: 7.141 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.6061, allocations: 1.017 MB / 0.6383 GB, free: 6.098 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004842/0.6066, allocations: 92.7 kB / 0.6383 GB, free: 6.008 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/0.6071, allocations: 335.3 kB / 0.6387 GB, free: 5.68 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6071, allocations: 4 kB / 0.6387 GB, free: 5.676 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04305/0.6501, allocations: 25.04 MB / 0.6631 GB, free: 13 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.6504, allocations: 203.4 kB / 0.6633 GB, free: 12.75 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.244, allocations: 3.938 kB / 0.6633 GB, free: 12.75 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)