Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006657/0.0006657, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008607/0.001526, allocations: 435.8 kB / 10.31 MB, free: 384 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.022/1.022, allocations: 158.6 MB / 169.7 MB, free: 2.781 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2108/1.233, allocations: 49.49 MB / 219.1 MB, free: 5.559 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 156.5 kB / 220 MB, free: 4.676 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.002201, allocations: 477.5 kB / 220.5 MB, free: 4.211 MB / 218.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo): time 0.1172/0.1172, allocations: 32.51 MB / 253.7 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.019/0.1362, allocations: 10.85 MB / 264.6 MB, free: 8.043 MB / 266.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 265.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.754e-05, allocations: 6.25 kB / 265.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Loads.PSAT.LoadTestMixed): time 0.004056/0.004074, allocations: 4.39 MB / 270.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.006765, allocations: 1.579 MB / 271.9 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003091/0.007074, allocations: 8 kB / 271.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.007363, allocations: 166.6 kB / 272 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.008383, allocations: 0.6134 MB / 272.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.009111, allocations: 490.8 kB / 273.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008898/0.01, allocations: 0.9536 MB / 274.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.01024, allocations: 157.7 kB / 274.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007327/0.01097, allocations: 0.6902 MB / 274.9 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000468/0.01144, allocations: 454.6 kB / 275.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.01158, allocations: 80 kB / 275.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.01203, allocations: 207.8 kB / 275.6 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.0122, allocations: 151.4 kB / 275.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.01249, allocations: 215.4 kB / 276 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.01328, allocations: 0.7781 MB / 276.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.0133, allocations: 0 / 276.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.0133, allocations: 0 / 276.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.01331, allocations: 0 / 276.8 MB, free: 11.76 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.003369/0.01668, allocations: 2.187 MB / 279 MB, free: 9.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.01672, allocations: 8.031 kB / 279 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.0189, allocations: 0.7618 MB / 279.7 MB, free: 8.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.01934, allocations: 390 kB / 280.1 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.01945, allocations: 176.2 kB / 280.3 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.01952, allocations: 52 kB / 280.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.02005, allocations: 477.7 kB / 280.8 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.02006, allocations: 0 / 280.8 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.02011, allocations: 28 kB / 280.8 MB, free: 7.598 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.02012, allocations: 12 kB / 280.9 MB, free: 7.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.02047, allocations: 225 kB / 281.1 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.02215, allocations: 1.101 MB / 282.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.02256, allocations: 297 kB / 282.5 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.02277, allocations: 186.6 kB / 282.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.29e-05/0.02283, allocations: 12.66 kB / 282.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.02286, allocations: 39.22 kB / 282.7 MB, free: 5.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 1.773e-06/0.02286, allocations: 7.938 kB / 282.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.007771/0.03063, allocations: 3.671 MB / 286.4 MB, free: 2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.03066, allocations: 60.06 kB / 286.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.03118, allocations: 0.5234 MB / 287 MB, free: 1.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.03123, allocations: 37.7 kB / 287 MB, free: 1.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.03134, allocations: 251.2 kB / 287.2 MB, free: 1.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.03151, allocations: 269.6 kB / 287.5 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.03169, allocations: 162.5 kB / 287.7 MB, free: 0.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.0318, allocations: 402.6 kB / 288.1 MB, free: 272 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.03214, allocations: 212.8 kB / 288.3 MB, free: 60 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.0325, allocations: 284.5 kB / 288.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.03355, allocations: 0.8555 MB / 289.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.03356, allocations: 0 / 289.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004167/0.03773, allocations: 2.091 MB / 291.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.03775, allocations: 11.91 kB / 291.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.03775, allocations: 0 / 291.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00371/0.04146, allocations: 1.526 MB / 293 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.04193, allocations: 179.8 kB / 293.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004869/0.0468, allocations: 3.529 MB / 296.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.0472, allocations: 103.5 kB / 296.8 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.04724, allocations: 27.98 kB / 296.9 MB, free: 7.336 MB / 298.7 MB Warning: Assuming fixed start value for the following 4 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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: 2 * 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 (78): * Single equations (assignments): 77 * 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.0001963/0.04744, allocations: 169.7 kB / 297 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.953e-05/0.04754, allocations: 67.94 kB / 297.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.05124, allocations: 1.96 MB / 299 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.05125, allocations: 8 kB / 299.1 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.05125, allocations: 0 / 299.1 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.05126, allocations: 7.969 kB / 299.1 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.05174, allocations: 470.8 kB / 299.5 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.05175, allocations: 3.938 kB / 299.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.05197, allocations: 87.81 kB / 299.6 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-05/0.05206, allocations: 87.28 kB / 299.7 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003825/0.05588, allocations: 1.577 MB / 301.3 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.05593, allocations: 12 kB / 301.3 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005388/0.06131, allocations: 3.277 MB / 304.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.06132, allocations: 0 / 304.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/0.06529, allocations: 2.213 MB / 306.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.06541, allocations: 16 kB / 306.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.06577, allocations: 55.94 kB / 306.8 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003395/0.06611, allocations: 164.3 kB / 307 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.06614, allocations: 15.98 kB / 307 MB, free: 12.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002136/0.06636, allocations: 264.6 kB / 307.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06636, allocations: 0 / 307.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008359/0.06719, allocations: 343.7 kB / 307.6 MB, free: 12.4 MB / 314.7 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 (40): * Single equations (assignments): 39 * 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.0003358/0.06753, allocations: 112.3 kB / 307.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002829/0.07036, allocations: 1.159 MB / 308.9 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/0.07037, allocations: 8 kB / 308.9 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001993/0.07237, allocations: 0.8542 MB / 309.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.07305, allocations: 130.9 kB / 309.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009144/0.08219, allocations: 1.483 MB / 311.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.0824, allocations: 183.5 kB / 311.5 MB, free: 8.387 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002731/0.08267, allocations: 56.81 kB / 311.6 MB, free: 8.332 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.08292, allocations: 119.4 kB / 311.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.08292, allocations: 0 / 311.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of Templates: time 0.02648/0.1094, allocations: 21.97 MB / 333.7 MB, free: 2.195 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.27710766158998]