Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.LoadTestMixed,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.08299/0.08299, allocations: 12.6 MB / 28.24 MB, free: 112 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.001148/0.001148, allocations: 115.4 kB / 31.84 MB, free: 3.418 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.296/1.296, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001584/0.001584, allocations: 194.8 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4123/0.4123, allocations: 78.51 MB / 419.3 MB, free: 10.74 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.002644/0.002644, allocations: 139.8 kB / 0.5554 GB, free: 17.79 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1169, allocations: 68.12 MB / 0.6219 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.005894/0.1228, allocations: 5.401 MB / 0.6272 GB, free: 8.207 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003264/0.1261, allocations: 1.611 MB / 0.6288 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007089/0.1269, allocations: 8 kB / 0.6288 GB, free: 6.582 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006147/0.1275, allocations: 182.4 kB / 0.6289 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.1295, allocations: 0.6831 MB / 0.6296 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1306, allocations: 0.4948 MB / 0.6301 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.132, allocations: 1.102 MB / 0.6312 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.1325, allocations: 262.6 kB / 0.6314 GB, free: 3.852 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008/0.1333, allocations: 473.9 kB / 0.6319 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008981/0.1342, allocations: 0.6223 MB / 0.6325 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.1345, allocations: 84 kB / 0.6326 GB, free: 2.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005757/0.1351, allocations: 223.9 kB / 0.6328 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.1354, allocations: 239 kB / 0.633 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005612/0.136, allocations: 0.5086 MB / 0.6335 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.1374, allocations: 1.274 MB / 0.6347 GB, free: 448 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1374, allocations: 0 / 0.6347 GB, free: 448 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1375, allocations: 0 / 0.6347 GB, free: 448 kB / 446.1 MB Notification: Performance of Transformations before backend: time 3.416e-05/0.1375, allocations: 0 / 0.6347 GB, free: 448 kB / 446.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.006932/0.1444, allocations: 2.173 MB / 0.6369 GB, free: 14.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1445, allocations: 15.98 kB / 0.6369 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.1447, allocations: 106.7 kB / 0.637 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004099/0.1488, allocations: 0.6506 MB / 0.6376 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.15, allocations: 0.6582 MB / 0.6383 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.1502, allocations: 172.1 kB / 0.6384 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.1504, allocations: 71.98 kB / 0.6385 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.1522, allocations: 0.877 MB / 0.6394 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1523, allocations: 4 kB / 0.6394 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.1524, allocations: 24 kB / 0.6394 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1524, allocations: 19.94 kB / 0.6394 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.1543, allocations: 0.9264 MB / 0.6403 GB, free: 10.61 MB / 462.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.004768/0.1591, allocations: 2.459 MB / 0.6427 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.1611, allocations: 1.128 MB / 0.6438 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.1624, allocations: 0.6615 MB / 0.6445 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.1626, allocations: 12.98 kB / 0.6445 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.1626, allocations: 43.56 kB / 0.6445 GB, free: 6.102 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 6.121e-06/0.1627, allocations: 0 / 0.6445 GB, free: 6.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02091/0.1836, allocations: 5.529 MB / 0.6499 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.1837, allocations: 60.41 kB / 0.65 GB, free: 480 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.1848, allocations: 0.7592 MB / 0.6507 GB, free: 15.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002287/0.185, allocations: 41.7 kB / 0.6507 GB, free: 15.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.1853, allocations: 400.8 kB / 0.6511 GB, free: 15.26 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/0.1857, allocations: 299.7 kB / 0.6514 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004482/0.1862, allocations: 186.8 kB / 0.6516 GB, free: 14.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1863, allocations: 353.9 kB / 0.6519 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.1876, allocations: 0.6155 MB / 0.6525 GB, free: 13.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.189, allocations: 0.731 MB / 0.6532 GB, free: 13.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/0.2053, allocations: 4.221 MB / 0.6574 GB, free: 8.801 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.2054, allocations: 0 / 0.6574 GB, free: 8.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01113/0.2165, allocations: 3.583 MB / 0.6609 GB, free: 5.199 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.2166, allocations: 8 kB / 0.6609 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2166, allocations: 4.188 kB / 0.6609 GB, free: 5.188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005383/0.222, allocations: 1.507 MB / 0.6623 GB, free: 3.676 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009732/0.223, allocations: 203.6 kB / 0.6625 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/0.2408, allocations: 8.136 MB / 0.6705 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.2421, allocations: 139 kB / 0.6706 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.2422, allocations: 43.98 kB / 0.6707 GB, free: 11.01 MB / 494.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.0005058/0.2428, allocations: 238 kB / 0.6709 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.243, allocations: 94.78 kB / 0.671 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/0.2532, allocations: 3.395 MB / 0.6743 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.2532, allocations: 11.94 kB / 0.6743 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2532, allocations: 0 / 0.6743 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.2532, allocations: 3.984 kB / 0.6743 GB, free: 7.25 MB / 494.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.01257/0.2658, allocations: 4.776 MB / 0.679 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.2659, allocations: 0 / 0.679 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/0.2665, allocations: 99.86 kB / 0.6791 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005404/0.272, allocations: 1.53 MB / 0.6806 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.2722, allocations: 16 kB / 0.6806 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2743/0.5465, allocations: 7.338 MB / 0.6877 GB, free: 53.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5466, allocations: 3.906 kB / 0.6877 GB, free: 53.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/0.5596, allocations: 4.281 MB / 0.6919 GB, free: 52.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.5599, allocations: 179.6 kB / 0.6921 GB, free: 51.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.5601, allocations: 22.61 kB / 0.6921 GB, free: 51.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000871/0.561, allocations: 79.72 kB / 0.6922 GB, free: 51.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006508/0.5617, allocations: 174.1 kB / 0.6924 GB, free: 51.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.5618, allocations: 23.89 kB / 0.6924 GB, free: 51.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006831/0.5625, allocations: 0.5166 MB / 0.6929 GB, free: 51.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5625, allocations: 0 / 0.6929 GB, free: 51.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001236/0.5637, allocations: 375.6 kB / 0.6933 GB, free: 51.64 MB / 494.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.01265/0.5764, allocations: 4.851 MB / 0.698 GB, free: 49.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005289/0.5817, allocations: 2.129 MB / 0.7001 GB, free: 49.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5817, allocations: 0 / 0.7001 GB, free: 49.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003503/0.5852, allocations: 1.35 MB / 0.7014 GB, free: 48.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007322/0.586, allocations: 76.25 kB / 0.7015 GB, free: 48.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02783/0.6138, allocations: 13.14 MB / 0.7143 GB, free: 41.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.6142, allocations: 1.021 MB / 0.7153 GB, free: 40.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003352/0.6146, allocations: 94.23 kB / 0.7154 GB, free: 40.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.615, allocations: 367.3 kB / 0.7157 GB, free: 40.32 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.615, allocations: 0 / 0.7157 GB, free: 40.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04832/0.6633, allocations: 29.75 MB / 0.7448 GB, free: 10.64 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.53, allocations: 11.77 kB / 0.7448 GB, free: 10.63 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)