Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08489/0.08489, allocations: 12.2 MB / 27.48 MB, free: 0.9258 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007926/0.000793, allocations: 103.5 kB / 31 MB, free: 4.527 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.4 MB / 239.8 MB, free: 14.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 181.7 kB / 291 MB, free: 11.62 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4273/0.4273, allocations: 78.52 MB / 420.5 MB, free: 11.57 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009672/0.000967, allocations: 31.98 kB / 0.4902 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2936, allocations: 69.24 MB / 0.5578 GB, free: 20.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.00402/0.2977, allocations: 5.135 MB / 0.5628 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.3006, allocations: 1.612 MB / 0.5644 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008198/0.3015, allocations: 15.88 kB / 0.5644 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.3021, allocations: 131.1 kB / 0.5645 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.3037, allocations: 0.5675 MB / 0.5651 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008301/0.3046, allocations: 473.8 kB / 0.5656 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007777/0.3053, allocations: 1.028 MB / 0.5666 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.3056, allocations: 234.1 kB / 0.5668 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.306, allocations: 414 kB / 0.5672 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/0.3065, allocations: 0.5365 MB / 0.5677 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.431e-05/0.3065, allocations: 44 kB / 0.5677 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.3068, allocations: 171.9 kB / 0.5679 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.307, allocations: 187 kB / 0.5681 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.3072, allocations: 478.7 kB / 0.5685 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006925/0.3079, allocations: 1.152 MB / 0.5697 GB, free: 8.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3079, allocations: 4 kB / 0.5697 GB, free: 8.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3079, allocations: 0 / 0.5697 GB, free: 8.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.308, allocations: 0 / 0.5697 GB, free: 8.699 MB / 382.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.005638/0.3136, allocations: 1.995 MB / 0.5716 GB, free: 6.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3137, allocations: 11.98 kB / 0.5716 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.3138, allocations: 106.7 kB / 0.5717 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003792/0.3176, allocations: 0.6507 MB / 0.5724 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000757/0.3184, allocations: 0.6504 MB / 0.573 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.3185, allocations: 180.1 kB / 0.5732 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.3187, allocations: 60 kB / 0.5732 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.3203, allocations: 0.9239 MB / 0.5741 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3203, allocations: 3.938 kB / 0.5741 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-05/0.3204, allocations: 28 kB / 0.5742 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3204, allocations: 19.94 kB / 0.5742 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.3221, allocations: 0.9694 MB / 0.5751 GB, free: 2.973 MB / 382.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.003429/0.3255, allocations: 2.482 MB / 0.5776 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.3272, allocations: 1.091 MB / 0.5786 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.3285, allocations: 0.6982 MB / 0.5793 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.202e-05/0.3286, allocations: 16.64 kB / 0.5793 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3287, allocations: 43.22 kB / 0.5794 GB, free: 14.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=76): time 2.464e-06/0.3287, allocations: 0 / 0.5794 GB, free: 14.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=76): time 0.02386/0.3526, allocations: 6.811 MB / 0.586 GB, free: 7.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3526, allocations: 60.06 kB / 0.5861 GB, free: 7.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009853/0.3536, allocations: 0.7628 MB / 0.5868 GB, free: 6.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.3538, allocations: 41.7 kB / 0.5869 GB, free: 6.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.3541, allocations: 392.7 kB / 0.5872 GB, free: 6.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.3544, allocations: 276 kB / 0.5875 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.3545, allocations: 89.66 kB / 0.5876 GB, free: 5.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3546, allocations: 353.8 kB / 0.5879 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.356, allocations: 0.6696 MB / 0.5886 GB, free: 4.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.3576, allocations: 0.7749 MB / 0.5893 GB, free: 4.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/0.3605, allocations: 1.44 MB / 0.5907 GB, free: 2.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3606, allocations: 0 / 0.5907 GB, free: 2.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01225/0.3728, allocations: 4.235 MB / 0.5949 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.3729, allocations: 8 kB / 0.5949 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3729, allocations: 0 / 0.5949 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005516/0.3784, allocations: 1.704 MB / 0.5965 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/0.3794, allocations: 179.7 kB / 0.5967 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/0.3973, allocations: 7.992 MB / 0.6045 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.3987, allocations: 167.1 kB / 0.6047 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/0.3988, allocations: 39.98 kB / 0.6047 GB, free: 4.195 MB / 414.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.0004251/0.3992, allocations: 218.6 kB / 0.6049 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.3994, allocations: 98.72 kB / 0.605 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.4115, allocations: 3.965 MB / 0.6089 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.4115, allocations: 12 kB / 0.6089 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4116, allocations: 0 / 0.6089 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.4116, allocations: 3.984 kB / 0.6089 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.4252, allocations: 5.293 MB / 0.6141 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.4252, allocations: 0 / 0.6141 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.4259, allocations: 107.9 kB / 0.6142 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005284/0.4312, allocations: 1.649 MB / 0.6158 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.4313, allocations: 8 kB / 0.6158 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/0.447, allocations: 6.848 MB / 0.6225 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.447, allocations: 0 / 0.6225 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/0.4607, allocations: 4.842 MB / 0.6272 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.461, allocations: 191.7 kB / 0.6274 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.4613, allocations: 8 kB / 0.6274 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.4623, allocations: 123.8 kB / 0.6275 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005635/0.4629, allocations: 156.4 kB / 0.6277 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/0.463, allocations: 24 kB / 0.6277 GB, free: 12.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007398/0.4637, allocations: 0.5185 MB / 0.6282 GB, free: 11.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4637, allocations: 0 / 0.6282 GB, free: 11.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0012/0.4649, allocations: 355.7 kB / 0.6285 GB, free: 11.48 MB / 446.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.01479/0.4797, allocations: 5.429 MB / 0.6338 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006282/0.4861, allocations: 2.276 MB / 0.6361 GB, free: 3.719 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4861, allocations: 0 / 0.6361 GB, free: 3.719 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00421/0.4903, allocations: 1.447 MB / 0.6375 GB, free: 2.254 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00098/0.4913, allocations: 78.06 kB / 0.6375 GB, free: 2.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03559/0.5269, allocations: 14.98 MB / 0.6522 GB, free: 2.918 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/0.5277, allocations: 1.009 MB / 0.6532 GB, free: 1.879 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004686/0.5281, allocations: 89.47 kB / 0.6532 GB, free: 1.789 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/0.5287, allocations: 335.3 kB / 0.6536 GB, free: 1.461 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5287, allocations: 0 / 0.6536 GB, free: 1.461 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04635/0.575, allocations: 24.58 MB / 0.6776 GB, free: 8.969 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.5753, allocations: 210.9 kB / 0.6778 GB, free: 8.715 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/2.96, allocations: 4 kB / 0.6778 GB, free: 8.711 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)