Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.001002/0.001002, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] 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.001245/0.001245, allocations: 174.3 kB / 24.91 MB, free: 8.773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3168/0.3168, allocations: 29.42 MB / 291.2 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 316.8 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.554e-05, allocations: 3.188 kB / 316.8 MB, free: 64 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.00654/0.006576, allocations: 5.877 MB / 322.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.01038, allocations: 2.142 MB / 324.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000452/0.01083, allocations: 39.69 kB / 324.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008306/0.01166, allocations: 246.4 kB / 325.1 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009857/0.01265, allocations: 0.5595 MB / 325.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.01344, allocations: 390.9 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.01477, allocations: 1.333 MB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007808/0.01555, allocations: 0.5606 MB / 328 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.01662, allocations: 0.8223 MB / 328.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007672/0.01739, allocations: 0.5962 MB / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.01756, allocations: 92 kB / 329.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008371/0.01839, allocations: 0.5225 MB / 330 MB, free: 2.828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.01874, allocations: 490.9 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.01909, allocations: 371.2 kB / 330.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.02029, allocations: 1.051 MB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.0203, allocations: 0 / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.0203, allocations: 0 / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.276e-05/0.02033, allocations: 3.938 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001616/0.02195, allocations: 1.153 MB / 333 MB, free: 15.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.02198, allocations: 11.98 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006303/0.02261, allocations: 220.7 kB / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000638/0.02325, allocations: 0.5107 MB / 333.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.02346, allocations: 329.8 kB / 334.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.02362, allocations: 80.75 kB / 334.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008623/0.02448, allocations: 0.7993 MB / 335 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.0245, allocations: 8 kB / 335 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.02456, allocations: 35.98 kB / 335 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-05/0.02465, allocations: 61.97 kB / 335.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.02517, allocations: 352.4 kB / 335.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.02861, allocations: 3.423 MB / 338.9 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.02918, allocations: 413 kB / 339.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.02945, allocations: 203 kB / 339.5 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.911e-05/0.0295, allocations: 12.66 kB / 339.5 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.02953, allocations: 39.22 kB / 339.5 MB, free: 8.965 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.936e-06/0.02954, allocations: 0 / 339.5 MB, free: 8.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.001773/0.03131, allocations: 1.022 MB / 340.5 MB, free: 7.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.03135, allocations: 85.77 kB / 340.6 MB, free: 7.809 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.03158, allocations: 371.1 kB / 341 MB, free: 7.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.03163, allocations: 37.7 kB / 341 MB, free: 7.387 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.03178, allocations: 369.2 kB / 341.4 MB, free: 7.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.03192, allocations: 261.7 kB / 341.6 MB, free: 6.762 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.03209, allocations: 138.5 kB / 341.8 MB, free: 6.621 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.03219, allocations: 382.6 kB / 342.1 MB, free: 6.238 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.03234, allocations: 120.8 kB / 342.3 MB, free: 6.117 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.03257, allocations: 303.9 kB / 342.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.033, allocations: 0.4918 MB / 343 MB, free: 5.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.03301, allocations: 4 kB / 343 MB, free: 5.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00118/0.03419, allocations: 0.7966 MB / 343.8 MB, free: 4.363 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.0342, allocations: 8 kB / 343.8 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009082/0.03511, allocations: 0.5795 MB / 344.4 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009297/0.03604, allocations: 482.8 kB / 344.9 MB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.03633, allocations: 131.8 kB / 345 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/0.03973, allocations: 3.953 MB / 349 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.04008, allocations: 35.97 kB / 349 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.04012, allocations: 32.06 kB / 349 MB, free: 14.97 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.04036, allocations: 152.5 kB / 349.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.04049, allocations: 63.95 kB / 349.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005971/0.04109, allocations: 467.9 kB / 349.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.0411, allocations: 19.98 kB / 349.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.04111, allocations: 0 / 349.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.04111, allocations: 7.984 kB / 349.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.04243, allocations: 1.065 MB / 350.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.04243, allocations: 4.031 kB / 350.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009338/0.04337, allocations: 367.5 kB / 351.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.516e-05/0.04344, allocations: 28.78 kB / 351.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.04348, allocations: 19.98 kB / 351.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006801/0.04416, allocations: 1.462 MB / 352.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.04416, allocations: 4.031 kB / 352.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008068/0.04497, allocations: 0.7258 MB / 353.4 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.04504, allocations: 55.56 kB / 353.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.04509, allocations: 19.92 kB / 353.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.04528, allocations: 31.98 kB / 353.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/0.04538, allocations: 52.55 kB / 353.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.0454, allocations: 16 kB / 353.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.04551, allocations: 144.7 kB / 353.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04551, allocations: 0 / 353.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006495/0.04616, allocations: 235.9 kB / 354 MB, free: 9.848 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001816/0.04634, allocations: 108.2 kB / 354.1 MB, free: 9.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009059/0.04725, allocations: 0.7771 MB / 354.8 MB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.04726, allocations: 8 kB / 354.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007753/0.04804, allocations: 0.5197 MB / 355.4 MB, free: 8.387 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.04849, allocations: 152.8 kB / 355.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.05084, allocations: 1.643 MB / 357.2 MB, free: 6.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.05103, allocations: 251.1 kB / 357.4 MB, free: 6.281 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.05126, allocations: 81.2 kB / 357.5 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.05154, allocations: 181.2 kB / 357.7 MB, free: 6.023 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.05154, allocations: 0 / 357.7 MB, free: 6.023 MB / 330.7 MB Notification: Performance of Templates: time 0.01528/0.06682, allocations: 12.76 MB / 370.4 MB, free: 9.418 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.592077578883618]