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.001082/0.001082, allocations: 108 kB / 15.6 MB, free: 132 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.359/1.359, allocations: 222.9 MB / 239.3 MB, free: 4.633 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.001859/0.001859, allocations: 204.3 kB / 289.6 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4832/0.4832, allocations: 78.54 MB / 418.3 MB, free: 3.172 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 75.88 kB / 497.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1557, 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.3169/0.4726, allocations: 5.357 MB / 0.5577 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003046/0.4757, allocations: 1.637 MB / 0.5593 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004107/0.4762, allocations: 9.906 kB / 0.5593 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004983/0.4767, allocations: 188.4 kB / 0.5595 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.4782, allocations: 0.6337 MB / 0.5601 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009343/0.4791, allocations: 0.497 MB / 0.5606 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009368/0.48, allocations: 1.095 MB / 0.5617 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.4804, allocations: 262.1 kB / 0.5619 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004843/0.4809, allocations: 472.5 kB / 0.5624 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005869/0.4815, allocations: 0.6167 MB / 0.563 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.4817, allocations: 83.75 kB / 0.563 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.4821, allocations: 229 kB / 0.5633 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.4823, allocations: 242.9 kB / 0.5635 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003743/0.4827, allocations: 0.5106 MB / 0.564 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.4838, allocations: 1.255 MB / 0.5652 GB, free: 35.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4839, allocations: 6.141 kB / 0.5652 GB, free: 35.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4839, allocations: 0 / 0.5652 GB, free: 35.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.4839, allocations: 0 / 0.5652 GB, free: 35.16 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.006527/0.4904, allocations: 2.175 MB / 0.5674 GB, free: 34.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4905, allocations: 11.69 kB / 0.5674 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.4906, allocations: 111.5 kB / 0.5675 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/0.4944, allocations: 0.6384 MB / 0.5681 GB, free: 34.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008431/0.4952, allocations: 0.6561 MB / 0.5687 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.4954, allocations: 179.9 kB / 0.5689 GB, free: 33.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.4955, allocations: 67.97 kB / 0.569 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.4972, allocations: 0.8831 MB / 0.5698 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4972, allocations: 0 / 0.5698 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-05/0.4973, allocations: 25.09 kB / 0.5699 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.4973, allocations: 19.56 kB / 0.5699 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.4991, allocations: 0.9236 MB / 0.5708 GB, free: 33.71 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.003883/0.503, allocations: 2.484 MB / 0.5732 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.5047, allocations: 1.113 MB / 0.5743 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.5059, allocations: 0.661 MB / 0.5749 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.942e-05/0.506, allocations: 23 kB / 0.575 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.506, allocations: 43 kB / 0.575 GB, free: 32.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.775e-06/0.506, allocations: 0 / 0.575 GB, free: 32.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02052/0.5265, allocations: 5.527 MB / 0.5804 GB, free: 31.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.5266, allocations: 61.78 kB / 0.5805 GB, free: 31.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.5277, allocations: 0.7601 MB / 0.5812 GB, free: 31.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.5278, allocations: 40.89 kB / 0.5812 GB, free: 31.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.528, allocations: 395.5 kB / 0.5816 GB, free: 31.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.5283, allocations: 300.9 kB / 0.5819 GB, free: 30.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.5286, allocations: 183 kB / 0.5821 GB, free: 30.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.5287, allocations: 348.8 kB / 0.5824 GB, free: 30.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.53, allocations: 0.6244 MB / 0.583 GB, free: 30.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.5313, allocations: 0.7346 MB / 0.5837 GB, free: 29.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/0.5478, allocations: 4.231 MB / 0.5879 GB, free: 28.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.5478, allocations: 1.719 kB / 0.5879 GB, free: 28.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01198/0.5598, allocations: 3.585 MB / 0.5914 GB, free: 27.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.5599, allocations: 8.812 kB / 0.5914 GB, free: 27.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.5599, allocations: 4.578 kB / 0.5914 GB, free: 27.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0058/0.5657, allocations: 1.503 MB / 0.5929 GB, free: 27.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.5669, allocations: 193.2 kB / 0.593 GB, free: 27.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0187/0.5856, allocations: 8.155 MB / 0.601 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.587, allocations: 140.2 kB / 0.6011 GB, free: 23.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/0.5871, allocations: 36.14 kB / 0.6012 GB, free: 23.52 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.0004196/0.5875, allocations: 236.8 kB / 0.6014 GB, free: 23.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.5877, allocations: 98.61 kB / 0.6015 GB, free: 23.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/0.5993, allocations: 3.403 MB / 0.6048 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.5993, allocations: 12.38 kB / 0.6048 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5993, allocations: 1.188 kB / 0.6048 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/0.5994, allocations: 4.078 kB / 0.6048 GB, free: 22.48 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.01284/0.6122, allocations: 4.782 MB / 0.6095 GB, free: 19.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.6123, allocations: 0 / 0.6095 GB, free: 19.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.6129, allocations: 95.38 kB / 0.6096 GB, free: 19.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00552/0.6184, allocations: 1.536 MB / 0.6111 GB, free: 18.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.6186, allocations: 20.61 kB / 0.6111 GB, free: 18.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01676/0.6353, allocations: 7.356 MB / 0.6183 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6354, allocations: 0 / 0.6183 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/0.6481, allocations: 4.279 MB / 0.6225 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.6484, allocations: 179.7 kB / 0.6226 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.6486, allocations: 16 kB / 0.6227 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009842/0.6496, allocations: 92.91 kB / 0.6227 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000649/0.6503, allocations: 174.2 kB / 0.6229 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.6504, allocations: 24 kB / 0.6229 GB, free: 6.461 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006576/0.651, allocations: 0.5146 MB / 0.6234 GB, free: 5.949 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6511, allocations: 0 / 0.6234 GB, free: 5.949 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00144/0.6525, allocations: 379.6 kB / 0.6238 GB, free: 5.578 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.01221/0.6647, allocations: 4.848 MB / 0.6285 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006178/0.6709, allocations: 2.167 MB / 0.6306 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.671, allocations: 3.938 kB / 0.6307 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004099/0.6751, allocations: 1.344 MB / 0.632 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009099/0.676, allocations: 81.38 kB / 0.632 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03474/0.7107, allocations: 13.53 MB / 0.6453 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007528/0.7115, allocations: 1.029 MB / 0.6463 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004545/0.712, allocations: 90.7 kB / 0.6463 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005367/0.7126, allocations: 359.3 kB / 0.6467 GB, free: 13.79 MB / 462.1 MB Notification: Performance of SimCode: time 9.21e-07/0.7126, allocations: 0 / 0.6467 GB, free: 13.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06367/0.7763, allocations: 29.4 MB / 0.6754 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.42, allocations: 5.125 kB / 0.6754 GB, free: 0.7422 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)