Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001244, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.331/1.331, allocations: 222.9 MB / 240 MB, free: 4.527 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.001286/0.001286, allocations: 188.5 kB / 290.3 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4921/0.4921, allocations: 91.91 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 83.86 kB / 0.5033 GB, free: 6.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2765, allocations: 71.25 MB / 0.5729 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004495/0.281, allocations: 5.778 MB / 0.5785 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.2831, allocations: 1.727 MB / 0.5802 GB, free: 32.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.2834, allocations: 15.19 kB / 0.5802 GB, free: 32.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.2837, allocations: 209.6 kB / 0.5804 GB, free: 32.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.2848, allocations: 0.677 MB / 0.5811 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/0.2857, allocations: 0.567 MB / 0.5816 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007637/0.2864, allocations: 1.247 MB / 0.5828 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.2867, allocations: 274 kB / 0.5831 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.2871, allocations: 0.516 MB / 0.5836 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.2876, allocations: 0.648 MB / 0.5842 GB, free: 30.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.2877, allocations: 85.78 kB / 0.5843 GB, free: 30.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.288, allocations: 229.3 kB / 0.5845 GB, free: 30.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2881, allocations: 247.6 kB / 0.5848 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.2884, allocations: 0.5392 MB / 0.5853 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007859/0.2892, allocations: 1.354 MB / 0.5866 GB, free: 29.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2892, allocations: 0 / 0.5866 GB, free: 29.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2892, allocations: 0 / 0.5866 GB, free: 29.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.2892, allocations: 0 / 0.5866 GB, free: 29.09 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006231/0.2955, allocations: 2.356 MB / 0.5889 GB, free: 28.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2955, allocations: 13.38 kB / 0.5889 GB, free: 28.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.3001, allocations: 0.7531 MB / 0.5897 GB, free: 27.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009082/0.301, allocations: 0.7189 MB / 0.5904 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.3012, allocations: 250.1 kB / 0.5906 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.3013, allocations: 70.28 kB / 0.5907 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.303, allocations: 0.95 MB / 0.5916 GB, free: 26.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.303, allocations: 3.938 kB / 0.5916 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-05/0.3031, allocations: 26.16 kB / 0.5916 GB, free: 26.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.3031, allocations: 15.09 kB / 0.5917 GB, free: 26.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.3049, allocations: 0.9823 MB / 0.5926 GB, free: 26.43 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.004194/0.3091, allocations: 3.156 MB / 0.5957 GB, free: 24.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.3107, allocations: 1.306 MB / 0.597 GB, free: 23.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.3119, allocations: 0.7097 MB / 0.5977 GB, free: 23.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.312, allocations: 13.7 kB / 0.5977 GB, free: 23.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.3121, allocations: 39.97 kB / 0.5977 GB, free: 23.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/0.3121, allocations: 0 / 0.5977 GB, free: 23.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02445/0.3365, allocations: 6.763 MB / 0.6043 GB, free: 22.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.3366, allocations: 59.47 kB / 0.6044 GB, free: 22.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009984/0.3376, allocations: 0.8076 MB / 0.6052 GB, free: 21.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.3377, allocations: 40.3 kB / 0.6052 GB, free: 21.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.338, allocations: 431.5 kB / 0.6056 GB, free: 21.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.3382, allocations: 290.4 kB / 0.6059 GB, free: 21.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.3386, allocations: 181.9 kB / 0.6061 GB, free: 21.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.664e-05/0.3386, allocations: 346.9 kB / 0.6064 GB, free: 20.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.3399, allocations: 0.655 MB / 0.607 GB, free: 20.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.3412, allocations: 0.7709 MB / 0.6078 GB, free: 20.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/0.3568, allocations: 4.493 MB / 0.6122 GB, free: 18.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.3568, allocations: 5.156 kB / 0.6122 GB, free: 18.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0114/0.3682, allocations: 4.123 MB / 0.6162 GB, free: 16.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3682, allocations: 6.562 kB / 0.6162 GB, free: 16.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3683, allocations: 1.781 kB / 0.6162 GB, free: 16.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005126/0.3734, allocations: 1.789 MB / 0.618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.3741, allocations: 167.7 kB / 0.6181 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/0.3908, allocations: 9.32 MB / 0.6272 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.392, allocations: 151 kB / 0.6274 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/0.3921, allocations: 43.98 kB / 0.6274 GB, free: 6.016 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003617/0.3925, allocations: 229.6 kB / 0.6276 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.3926, allocations: 102.8 kB / 0.6277 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.4027, allocations: 3.829 MB / 0.6315 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4027, allocations: 12 kB / 0.6315 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4027, allocations: 4 kB / 0.6315 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4027, allocations: 3.984 kB / 0.6315 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.4151, allocations: 5.353 MB / 0.6367 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4151, allocations: 0 / 0.6367 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.4155, allocations: 87.89 kB / 0.6368 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005251/0.4208, allocations: 1.741 MB / 0.6385 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.181e-05/0.4209, allocations: 16 kB / 0.6385 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/0.4373, allocations: 8.06 MB / 0.6464 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4373, allocations: 7.938 kB / 0.6464 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/0.4498, allocations: 4.716 MB / 0.651 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.4501, allocations: 183.7 kB / 0.6512 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.4503, allocations: 15.98 kB / 0.6512 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009205/0.4512, allocations: 91.91 kB / 0.6513 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005409/0.4518, allocations: 200.7 kB / 0.6515 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/0.4519, allocations: 20 kB / 0.6515 GB, free: 13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007159/0.4526, allocations: 0.5383 MB / 0.652 GB, free: 12.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.02e-07/0.4526, allocations: 0 / 0.652 GB, free: 12.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001204/0.4538, allocations: 407.6 kB / 0.6524 GB, free: 12.05 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002539/0.4541, allocations: 133.7 kB / 0.6525 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005776/0.4598, allocations: 2.33 MB / 0.6548 GB, free: 9.566 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4599, allocations: 4 kB / 0.6548 GB, free: 9.562 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003958/0.4638, allocations: 1.496 MB / 0.6563 GB, free: 8.051 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/0.4645, allocations: 87.22 kB / 0.6564 GB, free: 7.965 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.4672, allocations: 1.722 MB / 0.658 GB, free: 6.223 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.4677, allocations: 1.033 MB / 0.659 GB, free: 5.164 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002349/0.4679, allocations: 82.17 kB / 0.6591 GB, free: 5.082 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.4681, allocations: 59.42 kB / 0.6592 GB, free: 5.023 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4681, allocations: 0 / 0.6592 GB, free: 5.023 MB / 462.1 MB Notification: Performance of Templates: time 0.2547/0.7228, allocations: 22.4 MB / 0.6811 GB, free: 14.64 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)