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-master/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-master/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-master/package.mo): time 0.08239/0.08239, allocations: 12.6 MB / 28.1 MB, free: 344 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 107.5 kB / 31.7 MB, free: 3.512 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.421/1.421, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001277/0.001277, allocations: 192.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4339/0.4339, allocations: 78.51 MB / 419.2 MB, free: 11.36 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.002631/0.002631, allocations: 148.7 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2871, allocations: 68.11 MB / 0.5547 GB, free: 32.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.006767/0.2939, allocations: 5.288 MB / 0.5598 GB, free: 28.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003896/0.2979, allocations: 1.598 MB / 0.5614 GB, free: 27.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.2992, allocations: 16.19 kB / 0.5614 GB, free: 27.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.2999, allocations: 185.6 kB / 0.5616 GB, free: 27.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.3022, allocations: 0.6313 MB / 0.5622 GB, free: 26.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.3035, allocations: 0.5004 MB / 0.5627 GB, free: 26.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.305, allocations: 1.074 MB / 0.5638 GB, free: 25.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.3055, allocations: 275 kB / 0.564 GB, free: 25.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007111/0.3062, allocations: 470.1 kB / 0.5645 GB, free: 25.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007209/0.3069, allocations: 0.5936 MB / 0.565 GB, free: 25.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.3071, allocations: 84.81 kB / 0.5651 GB, free: 25.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006148/0.3077, allocations: 210.9 kB / 0.5653 GB, free: 25.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.308, allocations: 229.9 kB / 0.5655 GB, free: 24.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004368/0.3084, allocations: 0.497 MB / 0.566 GB, free: 24.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.3097, allocations: 1.212 MB / 0.5672 GB, free: 23.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3098, allocations: 1.156 kB / 0.5672 GB, free: 23.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3098, allocations: 0 / 0.5672 GB, free: 23.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.3098, allocations: 0 / 0.5672 GB, free: 23.61 MB / 398.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.007389/0.3172, allocations: 2.125 MB / 0.5693 GB, free: 22.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.3173, allocations: 17.39 kB / 0.5693 GB, free: 22.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.3174, allocations: 103.8 kB / 0.5694 GB, free: 22.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004417/0.3218, allocations: 0.6456 MB / 0.57 GB, free: 21.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.3232, allocations: 0.6528 MB / 0.5707 GB, free: 21.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.3234, allocations: 179.7 kB / 0.5708 GB, free: 21.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.3235, allocations: 58.44 kB / 0.5709 GB, free: 21.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.3255, allocations: 0.8524 MB / 0.5717 GB, free: 20.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.3256, allocations: 0 / 0.5717 GB, free: 20.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.913e-05/0.3257, allocations: 20.69 kB / 0.5718 GB, free: 20.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.3257, allocations: 18.38 kB / 0.5718 GB, free: 20.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.3279, allocations: 0.8923 MB / 0.5726 GB, free: 20.24 MB / 398.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.004922/0.3328, allocations: 2.427 MB / 0.575 GB, free: 18.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.3344, allocations: 1.033 MB / 0.576 GB, free: 17.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.3356, allocations: 0.6279 MB / 0.5766 GB, free: 16.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.54e-05/0.3357, allocations: 12.64 kB / 0.5766 GB, free: 16.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3357, allocations: 47.2 kB / 0.5767 GB, free: 16.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=76): time 4.588e-06/0.3357, allocations: 0 / 0.5767 GB, free: 16.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=76): time 0.02086/0.3566, allocations: 5.535 MB / 0.5821 GB, free: 11.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3566, allocations: 60.06 kB / 0.5822 GB, free: 11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008218/0.3575, allocations: 0.7629 MB / 0.5829 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001657/0.3576, allocations: 45.62 kB / 0.5829 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.3578, allocations: 392.6 kB / 0.5833 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.3581, allocations: 276.1 kB / 0.5836 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003073/0.3584, allocations: 178.5 kB / 0.5838 GB, free: 9.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.3585, allocations: 349.9 kB / 0.5841 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.3597, allocations: 0.6032 MB / 0.5847 GB, free: 8.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.3609, allocations: 0.7007 MB / 0.5854 GB, free: 7.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.3634, allocations: 1.311 MB / 0.5866 GB, free: 6.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3634, allocations: 4 kB / 0.5866 GB, free: 6.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01054/0.3739, allocations: 3.493 MB / 0.5901 GB, free: 2.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.374, allocations: 8 kB / 0.5901 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.374, allocations: 0 / 0.5901 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004712/0.3787, allocations: 1.454 MB / 0.5915 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/0.3796, allocations: 171.7 kB / 0.5916 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01733/0.397, allocations: 7.808 MB / 0.5993 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.3984, allocations: 139.1 kB / 0.5994 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/0.3985, allocations: 43.98 kB / 0.5994 GB, free: 9.047 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.0004278/0.3989, allocations: 225.4 kB / 0.5997 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.3991, allocations: 94.78 kB / 0.5998 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.4098, allocations: 3.219 MB / 0.6029 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.4098, allocations: 8 kB / 0.6029 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4098, allocations: 0 / 0.6029 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.4099, allocations: 3.984 kB / 0.6029 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.4225, allocations: 4.547 MB / 0.6073 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.4225, allocations: 4 kB / 0.6074 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.4232, allocations: 95.88 kB / 0.6074 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005061/0.4283, allocations: 1.403 MB / 0.6088 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.4285, allocations: 15.94 kB / 0.6088 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/0.4441, allocations: 6.745 MB / 0.6154 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.4441, allocations: 0 / 0.6154 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/0.4569, allocations: 4.041 MB / 0.6194 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/0.4573, allocations: 183.7 kB / 0.6195 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.4575, allocations: 12 kB / 0.6195 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008824/0.4584, allocations: 87.89 kB / 0.6196 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005232/0.459, allocations: 160.4 kB / 0.6198 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/0.459, allocations: 16 kB / 0.6198 GB, free: 3.871 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000685/0.4597, allocations: 0.5185 MB / 0.6203 GB, free: 3.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4597, allocations: 3.938 kB / 0.6203 GB, free: 3.352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00102/0.4607, allocations: 351.7 kB / 0.6206 GB, free: 3.008 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.0132/0.4739, allocations: 4.628 MB / 0.6252 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006369/0.4804, allocations: 2.102 MB / 0.6272 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4804, allocations: 0 / 0.6272 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004029/0.4844, allocations: 1.28 MB / 0.6285 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/0.4854, allocations: 82.53 kB / 0.6285 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03248/0.5179, allocations: 13.07 MB / 0.6413 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.5185, allocations: 1.009 MB / 0.6423 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004549/0.519, allocations: 93.45 kB / 0.6424 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/0.5195, allocations: 347.3 kB / 0.6427 GB, free: 12.03 MB / 462.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5195, allocations: 0 / 0.6427 GB, free: 12.03 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05904/0.5785, allocations: 27.13 MB / 0.6692 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.08, allocations: 23.55 kB / 0.6692 GB, free: 0.9336 MB / 478.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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)