Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.001596/0.001596, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 239.3 MB, free: 4.605 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.001513/0.001513, allocations: 196.4 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4811/0.4811, allocations: 78.53 MB / 418.2 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002888/0.002888, allocations: 79.88 kB / 497.6 MB, free: 6.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1702, allocations: 68.17 MB / 0.5525 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.2299/0.4002, allocations: 5.347 MB / 0.5577 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.4033, allocations: 1.639 MB / 0.5593 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.4038, allocations: 11.53 kB / 0.5593 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.4042, allocations: 184.6 kB / 0.5595 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.4056, allocations: 0.6366 MB / 0.5601 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009344/0.4065, allocations: 0.4958 MB / 0.5606 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009175/0.4075, allocations: 1.091 MB / 0.5617 GB, free: 36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.4078, allocations: 264.3 kB / 0.5619 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.4083, allocations: 474.4 kB / 0.5624 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005437/0.4088, allocations: 0.6163 MB / 0.563 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.409, allocations: 90.66 kB / 0.563 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003751/0.4094, allocations: 224.1 kB / 0.5633 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.4095, allocations: 246.6 kB / 0.5635 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.4099, allocations: 0.5074 MB / 0.564 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000984/0.4109, allocations: 1.253 MB / 0.5652 GB, free: 35.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4109, allocations: 0 / 0.5652 GB, free: 35.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4109, allocations: 0 / 0.5652 GB, free: 35.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.4109, allocations: 3.938 kB / 0.5652 GB, free: 35.17 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006419/0.4174, allocations: 2.181 MB / 0.5673 GB, free: 34.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4174, allocations: 8.562 kB / 0.5674 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.4175, allocations: 108.6 kB / 0.5675 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003955/0.4215, allocations: 0.6492 MB / 0.5681 GB, free: 34.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008333/0.4223, allocations: 0.6558 MB / 0.5687 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.4225, allocations: 175.5 kB / 0.5689 GB, free: 33.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.4226, allocations: 68.84 kB / 0.569 GB, free: 33.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.4243, allocations: 0.8804 MB / 0.5698 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.4243, allocations: 0.9375 kB / 0.5698 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.618e-05/0.4244, allocations: 24.97 kB / 0.5699 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.4244, allocations: 20.2 kB / 0.5699 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.4262, allocations: 0.9255 MB / 0.5708 GB, free: 33.72 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.00373/0.43, allocations: 2.479 MB / 0.5732 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.4317, allocations: 1.122 MB / 0.5743 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.4329, allocations: 0.6544 MB / 0.5749 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.61e-05/0.433, allocations: 19.2 kB / 0.5749 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.433, allocations: 42.47 kB / 0.575 GB, free: 32.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.176e-06/0.433, allocations: 0 / 0.575 GB, free: 32.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02118/0.4542, allocations: 5.524 MB / 0.5804 GB, free: 31.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.4543, allocations: 60.09 kB / 0.5804 GB, free: 31.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009561/0.4552, allocations: 0.766 MB / 0.5812 GB, free: 31.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.4554, allocations: 41.45 kB / 0.5812 GB, free: 31.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.4556, allocations: 398.7 kB / 0.5816 GB, free: 31.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.4559, allocations: 298.8 kB / 0.5819 GB, free: 30.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003271/0.4562, allocations: 184.4 kB / 0.5821 GB, free: 30.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.4563, allocations: 348.4 kB / 0.5824 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.4576, allocations: 0.6202 MB / 0.583 GB, free: 30.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.459, allocations: 0.731 MB / 0.5837 GB, free: 29.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/0.4764, allocations: 4.229 MB / 0.5879 GB, free: 28.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.4764, allocations: 2.594 kB / 0.5879 GB, free: 28.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01239/0.4888, allocations: 3.592 MB / 0.5914 GB, free: 27.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.4889, allocations: 6.391 kB / 0.5914 GB, free: 27.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.4889, allocations: 3.75 kB / 0.5914 GB, free: 27.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005834/0.4948, allocations: 1.512 MB / 0.5928 GB, free: 27.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.4958, allocations: 181.5 kB / 0.593 GB, free: 27.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/0.5146, allocations: 8.164 MB / 0.601 GB, free: 23.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.516, allocations: 145.1 kB / 0.6011 GB, free: 23.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/0.5161, allocations: 36.86 kB / 0.6012 GB, free: 23.53 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) 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 (97): * Single equations (assignments): 96 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004221/0.5166, allocations: 227.5 kB / 0.6014 GB, free: 23.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.5168, allocations: 98.47 kB / 0.6015 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.5285, allocations: 3.405 MB / 0.6048 GB, free: 22.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/0.5286, allocations: 14.03 kB / 0.6048 GB, free: 22.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5286, allocations: 1.219 kB / 0.6048 GB, free: 22.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/0.5286, allocations: 4.547 kB / 0.6048 GB, free: 22.49 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 postOpt removeSimpleEquations (simulation): time 0.01294/0.5416, allocations: 4.778 MB / 0.6095 GB, free: 19.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.5416, allocations: 3.062 kB / 0.6095 GB, free: 19.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/0.5423, allocations: 95.38 kB / 0.6096 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005517/0.5478, allocations: 1.536 MB / 0.6111 GB, free: 18.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.548, allocations: 16.94 kB / 0.6111 GB, free: 18.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01495/0.5629, allocations: 7.355 MB / 0.6183 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.563, allocations: 4 kB / 0.6183 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/0.5755, allocations: 4.284 MB / 0.6225 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.5759, allocations: 179.7 kB / 0.6226 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.5761, allocations: 16 kB / 0.6227 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008886/0.577, allocations: 91.84 kB / 0.6227 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004912/0.5775, allocations: 172.5 kB / 0.6229 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/0.5775, allocations: 20 kB / 0.6229 GB, free: 6.473 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005309/0.5781, allocations: 0.5185 MB / 0.6234 GB, free: 5.957 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5781, allocations: 4 kB / 0.6234 GB, free: 5.953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001085/0.5792, allocations: 379.6 kB / 0.6238 GB, free: 5.582 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01261/0.5918, allocations: 4.836 MB / 0.6285 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006012/0.5978, allocations: 2.176 MB / 0.6306 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5979, allocations: 0 / 0.6306 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004005/0.6019, allocations: 1.346 MB / 0.632 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007989/0.6027, allocations: 80.42 kB / 0.632 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03357/0.6363, allocations: 13.53 MB / 0.6452 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.637, allocations: 1.029 MB / 0.6463 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004758/0.6375, allocations: 89.91 kB / 0.6463 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005973/0.6381, allocations: 359.3 kB / 0.6467 GB, free: 13.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6381, allocations: 4 kB / 0.6467 GB, free: 13.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06309/0.7012, allocations: 29.41 MB / 0.6754 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.21, allocations: 2.109 kB / 0.6754 GB, free: 0.7344 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)