Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_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.000964/0.0009641, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.423/1.423, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.001723/0.001723, allocations: 180.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5417/0.5417, allocations: 91.92 MB / 433.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.00043, allocations: 12 kB / 0.5049 GB, free: 7.195 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.399, allocations: 72.46 MB / 0.5756 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.004874/0.4039, allocations: 5.219 MB / 0.5807 GB, free: 33.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.4071, allocations: 1.668 MB / 0.5824 GB, free: 32.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.4075, allocations: 8.219 kB / 0.5824 GB, free: 32.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.408, allocations: 142.9 kB / 0.5825 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.4094, allocations: 0.5549 MB / 0.583 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.4103, allocations: 484.3 kB / 0.5835 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009109/0.4112, allocations: 1.046 MB / 0.5845 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.4116, allocations: 239.2 kB / 0.5848 GB, free: 31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004828/0.412, allocations: 412.3 kB / 0.5852 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005984/0.4127, allocations: 0.5657 MB / 0.5857 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.4128, allocations: 45.12 kB / 0.5857 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.4132, allocations: 175.3 kB / 0.5859 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.4134, allocations: 197.8 kB / 0.5861 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.4137, allocations: 499.6 kB / 0.5866 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.4148, allocations: 1.192 MB / 0.5877 GB, free: 29.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4148, allocations: 0 / 0.5877 GB, free: 29.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4148, allocations: 2.781 kB / 0.5877 GB, free: 29.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.4149, allocations: 1.969 kB / 0.5877 GB, free: 29.62 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.006595/0.4215, allocations: 2.033 MB / 0.5897 GB, free: 28.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.4215, allocations: 9.531 kB / 0.5897 GB, free: 28.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.4217, allocations: 108 kB / 0.5898 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/0.426, allocations: 0.6504 MB / 0.5905 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/0.427, allocations: 0.6561 MB / 0.5911 GB, free: 28.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.4272, allocations: 187.6 kB / 0.5913 GB, free: 27.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.4273, allocations: 65.5 kB / 0.5914 GB, free: 27.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.4293, allocations: 0.9483 MB / 0.5923 GB, free: 27.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.4293, allocations: 1.25 kB / 0.5923 GB, free: 27.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.4294, allocations: 24.94 kB / 0.5923 GB, free: 27.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.4294, allocations: 18.88 kB / 0.5923 GB, free: 27.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.4316, allocations: 1.004 MB / 0.5933 GB, free: 27.2 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.004441/0.436, allocations: 2.541 MB / 0.5958 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.4381, allocations: 1.187 MB / 0.597 GB, free: 25.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.4396, allocations: 0.7276 MB / 0.5977 GB, free: 24.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.446e-05/0.4397, allocations: 14.69 kB / 0.5977 GB, free: 24.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.4397, allocations: 46.78 kB / 0.5977 GB, free: 24.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.247e-06/0.4397, allocations: 5.031 kB / 0.5977 GB, free: 24.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02628/0.466, allocations: 6.711 MB / 0.6043 GB, free: 23.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.4661, allocations: 62.17 kB / 0.6043 GB, free: 23.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.4678, allocations: 0.7641 MB / 0.6051 GB, free: 23.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.4681, allocations: 37.89 kB / 0.6051 GB, free: 23.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.4684, allocations: 398.5 kB / 0.6055 GB, free: 22.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004719/0.4689, allocations: 299 kB / 0.6058 GB, free: 22.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.4692, allocations: 94.91 kB / 0.6059 GB, free: 22.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4693, allocations: 349 kB / 0.6062 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.4711, allocations: 0.6839 MB / 0.6069 GB, free: 22.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/0.4729, allocations: 0.8062 MB / 0.6077 GB, free: 21.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02025/0.4932, allocations: 4.651 MB / 0.6122 GB, free: 20.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.4933, allocations: 0 / 0.6122 GB, free: 20.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01499/0.5083, allocations: 4.326 MB / 0.6164 GB, free: 19.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.5084, allocations: 6.5 kB / 0.6164 GB, free: 19.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.5084, allocations: 5.625 kB / 0.6164 GB, free: 19.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00586/0.5142, allocations: 1.762 MB / 0.6182 GB, free: 17.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.5153, allocations: 199.7 kB / 0.6184 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/0.5334, allocations: 8.297 MB / 0.6265 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.5351, allocations: 179 kB / 0.6266 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.5353, allocations: 35.98 kB / 0.6267 GB, free: 8.969 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.0007676/0.5361, allocations: 238 kB / 0.6269 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/0.5365, allocations: 102.8 kB / 0.627 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.5488, allocations: 4.137 MB / 0.631 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.5488, allocations: 12 kB / 0.631 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5488, allocations: 4 kB / 0.631 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.5489, allocations: 3.984 kB / 0.631 GB, free: 4.453 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.0145/0.5634, allocations: 5.517 MB / 0.6364 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.5634, allocations: 0 / 0.6364 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006756/0.5641, allocations: 107.8 kB / 0.6365 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006423/0.5706, allocations: 1.788 MB / 0.6383 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/0.5707, allocations: 16 kB / 0.6383 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01864/0.5894, allocations: 7.395 MB / 0.6455 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5894, allocations: 3.984 kB / 0.6455 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/0.6053, allocations: 5.091 MB / 0.6505 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006586/0.606, allocations: 187.7 kB / 0.6507 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/0.6064, allocations: 15.94 kB / 0.6507 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.6077, allocations: 119.9 kB / 0.6508 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006971/0.6084, allocations: 164.7 kB / 0.651 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.6086, allocations: 23.98 kB / 0.651 GB, free: 15.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009677/0.6095, allocations: 0.5146 MB / 0.6515 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6096, allocations: 0 / 0.6515 GB, free: 15.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001741/0.6113, allocations: 383.6 kB / 0.6519 GB, free: 14.84 MB / 462.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.01674/0.6281, allocations: 5.66 MB / 0.6574 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007037/0.6352, allocations: 2.344 MB / 0.6597 GB, free: 6.781 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6352, allocations: 4.062 kB / 0.6597 GB, free: 6.777 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004648/0.6399, allocations: 1.499 MB / 0.6611 GB, free: 5.262 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6412, allocations: 91.2 kB / 0.6612 GB, free: 5.176 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04078/0.682, allocations: 15.47 MB / 0.6763 GB, free: 5.414 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008301/0.6829, allocations: 1.025 MB / 0.6773 GB, free: 4.355 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005003/0.6834, allocations: 93.62 kB / 0.6774 GB, free: 4.262 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006587/0.6841, allocations: 363.2 kB / 0.6778 GB, free: 3.906 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6841, allocations: 0 / 0.6778 GB, free: 3.906 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05605/0.7401, allocations: 26.71 MB / 0.7038 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004061/0.7406, allocations: 215 kB / 0.7041 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/3.449, allocations: 0 / 0.7041 GB, free: 9.137 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)