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.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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 110.2 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 190.6 kB / 17.43 MB, free: 6.066 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.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1739/0.1739, allocations: 38.02 MB / 329.3 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 60.03 kB / 398.1 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1457, allocations: 58.06 MB / 456.1 MB, free: 8.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.01113/0.1568, allocations: 7.81 MB / 464 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005387/0.1623, allocations: 2.473 MB / 466.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.1635, allocations: 47.69 kB / 466.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.1654, allocations: 497.9 kB / 467 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.1672, allocations: 0.5098 MB / 467.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1684, allocations: 335.4 kB / 467.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.1708, allocations: 1.832 MB / 469.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.172, allocations: 0.6385 MB / 470.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.1731, allocations: 474.1 kB / 470.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.1746, allocations: 0.6971 MB / 471.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002943/0.1749, allocations: 60 kB / 471.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.1761, allocations: 0.5225 MB / 472 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006151/0.1767, allocations: 431 kB / 472.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009072/0.1776, allocations: 489.6 kB / 472.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.1793, allocations: 1.41 MB / 474.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1794, allocations: 0 / 474.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1794, allocations: 0 / 474.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.185e-05/0.1794, allocations: 0 / 474.3 MB, free: 6.215 MB / 350.1 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.003429/0.1829, allocations: 1.34 MB / 475.7 MB, free: 4.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1829, allocations: 16.03 kB / 475.7 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.1838, allocations: 147.6 kB / 475.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.1851, allocations: 0.6514 MB / 476.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.1854, allocations: 183.6 kB / 476.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.1856, allocations: 91.94 kB / 476.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.1879, allocations: 1.358 MB / 478.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.188, allocations: 7.938 kB / 478.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/0.1881, allocations: 32 kB / 478.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.1883, allocations: 61.97 kB / 478.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.1907, allocations: 1.3 MB / 479.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007262/0.198, allocations: 4.919 MB / 484.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.2001, allocations: 1.142 MB / 485.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.2013, allocations: 0.6232 MB / 486.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-05/0.2014, allocations: 12.55 kB / 486.2 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.2014, allocations: 43.12 kB / 486.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.306e-06/0.2014, allocations: 0 / 486.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.00616/0.2076, allocations: 3.175 MB / 489.4 MB, free: 6.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.2077, allocations: 85.67 kB / 489.5 MB, free: 6.531 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.2083, allocations: 465.9 kB / 490 MB, free: 6.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.2083, allocations: 37.64 kB / 490 MB, free: 6.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.2086, allocations: 403.3 kB / 490.4 MB, free: 5.617 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.2089, allocations: 252.3 kB / 490.6 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.2091, allocations: 142.6 kB / 490.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.2093, allocations: 382.8 kB / 491.1 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009564/0.2103, allocations: 0.4899 MB / 491.6 MB, free: 4.348 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.2114, allocations: 0.6912 MB / 492.3 MB, free: 3.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/0.2136, allocations: 1.22 MB / 493.5 MB, free: 2.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.2136, allocations: 3.938 kB / 493.5 MB, free: 2.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004666/0.2183, allocations: 1.982 MB / 495.5 MB, free: 272 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.2184, allocations: 8 kB / 495.5 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004062/0.2225, allocations: 1.715 MB / 497.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/0.2247, allocations: 0.6495 MB / 497.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/0.2255, allocations: 159.7 kB / 498.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.237, allocations: 6.755 MB / 0.493 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009165/0.2379, allocations: 75.97 kB / 0.4931 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.2382, allocations: 28 kB / 0.4931 GB, free: 6.586 MB / 382.1 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.0007324/0.2389, allocations: 313.5 kB / 0.4934 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.2392, allocations: 59.25 kB / 0.4934 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.2416, allocations: 1.297 MB / 0.4947 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.2416, allocations: 15.98 kB / 0.4947 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2416, allocations: 0 / 0.4947 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.2417, allocations: 11.92 kB / 0.4947 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003953/0.2456, allocations: 2.41 MB / 0.4971 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2456, allocations: 4 kB / 0.4971 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/0.2481, allocations: 495.4 kB / 0.4976 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.2483, allocations: 40.78 kB / 0.4976 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/0.2483, allocations: 15.98 kB / 0.4976 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.2495, allocations: 1.47 MB / 0.499 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/0.2495, allocations: 3.984 kB / 0.4991 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2357/0.4852, allocations: 2.002 MB / 0.501 GB, free: 56.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.4856, allocations: 133.6 kB / 0.5011 GB, free: 56.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.4858, allocations: 18.42 kB / 0.5012 GB, free: 56.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000924/0.4868, allocations: 59.89 kB / 0.5012 GB, free: 56.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003609/0.4872, allocations: 65.66 kB / 0.5013 GB, free: 56.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.505e-05/0.4873, allocations: 20.03 kB / 0.5013 GB, free: 56.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000814/0.4881, allocations: 320 kB / 0.5016 GB, free: 56.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4881, allocations: 0.6875 kB / 0.5016 GB, free: 56.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001825/0.4899, allocations: 231.9 kB / 0.5018 GB, free: 56.02 MB / 382.1 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.0003932/0.4904, allocations: 127.2 kB / 0.5019 GB, free: 55.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003382/0.4938, allocations: 1.562 MB / 0.5035 GB, free: 55.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4938, allocations: 0 / 0.5035 GB, free: 55.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002996/0.4968, allocations: 1.003 MB / 0.5044 GB, free: 55.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.4981, allocations: 144.5 kB / 0.5046 GB, free: 55.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00481/0.5029, allocations: 2.64 MB / 0.5072 GB, free: 53.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000912/0.5038, allocations: 1.071 MB / 0.5082 GB, free: 52.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009359/0.5048, allocations: 214.5 kB / 0.5084 GB, free: 52.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.5051, allocations: 50.73 kB / 0.5085 GB, free: 52.95 MB / 382.1 MB Notification: Performance of SimCode: time 2.514e-06/0.5051, allocations: 0 / 0.5085 GB, free: 52.95 MB / 382.1 MB Notification: Performance of Templates: time 0.03377/0.5389, allocations: 12.64 MB / 0.5208 GB, free: 49.11 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)