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.00121/0.001211, allocations: 105.5 kB / 16.92 MB, free: 5.766 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.001406/0.001406, allocations: 191.5 kB / 17.85 MB, free: 5.172 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.428/1.428, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.18/0.18, allocations: 38.02 MB / 329.7 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.61 kB / 398.8 MB, free: 34.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1123, allocations: 58.06 MB / 456.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008854/0.1212, allocations: 6.76 MB / 463.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004109/0.1253, allocations: 2.142 MB / 465.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005091/0.1259, allocations: 27.81 kB / 465.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.1275, allocations: 0.5093 MB / 466.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.1287, allocations: 0.5521 MB / 466.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.1296, allocations: 375.2 kB / 467.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.1308, allocations: 1.306 MB / 468.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008791/0.1317, allocations: 0.7285 MB / 469.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000678/0.1324, allocations: 0.5449 MB / 469.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009385/0.1333, allocations: 0.6893 MB / 470.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.1335, allocations: 100 kB / 470.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009045/0.1344, allocations: 0.5538 MB / 471.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004425/0.1349, allocations: 462.9 kB / 471.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005495/0.1354, allocations: 0.5173 MB / 472.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.137, allocations: 1.449 MB / 473.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.137, allocations: 0 / 473.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.137, allocations: 0 / 473.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.137, allocations: 4 kB / 473.6 MB, free: 7.258 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.002731/0.1397, allocations: 1.347 MB / 474.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1398, allocations: 11.89 kB / 474.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007726/0.1406, allocations: 147.7 kB / 475.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.1418, allocations: 0.6476 MB / 475.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.1421, allocations: 171.6 kB / 475.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.1423, allocations: 99.78 kB / 476 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.1444, allocations: 1.362 MB / 477.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.1445, allocations: 0 / 477.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.599e-05/0.1446, allocations: 39.98 kB / 477.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.1448, allocations: 61.97 kB / 477.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.1471, allocations: 1.295 MB / 478.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006903/0.154, allocations: 4.916 MB / 483.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.1562, allocations: 1.138 MB / 484.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.1574, allocations: 0.6193 MB / 485.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.704e-05/0.1574, allocations: 20.48 kB / 485.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.1575, allocations: 43.06 kB / 485.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.046e-06/0.1575, allocations: 0 / 485.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005972/0.1635, allocations: 3.182 MB / 488.6 MB, free: 7.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.1635, allocations: 85.67 kB / 488.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.1641, allocations: 469.9 kB / 489.2 MB, free: 7.121 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.1641, allocations: 37.7 kB / 489.2 MB, free: 7.078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.1644, allocations: 395.3 kB / 489.6 MB, free: 6.684 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.1646, allocations: 256.3 kB / 489.9 MB, free: 6.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.1649, allocations: 146.6 kB / 490 MB, free: 6.281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.165, allocations: 374.8 kB / 490.4 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009245/0.166, allocations: 0.5016 MB / 490.9 MB, free: 5.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.167, allocations: 0.6833 MB / 491.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.169, allocations: 1.216 MB / 492.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.169, allocations: 7.938 kB / 492.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004394/0.1734, allocations: 1.978 MB / 494.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.1735, allocations: 8 kB / 494.8 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003804/0.1773, allocations: 1.718 MB / 496.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.1791, allocations: 0.6495 MB / 497.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.1797, allocations: 151.8 kB / 497.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.1915, allocations: 7.419 MB / 0.4929 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008031/0.1923, allocations: 71.91 kB / 0.4929 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.1924, allocations: 31.98 kB / 0.493 GB, free: 6.98 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.0006204/0.1931, allocations: 325.4 kB / 0.4933 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.1933, allocations: 63.31 kB / 0.4933 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.1959, allocations: 1.297 MB / 0.4946 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/0.196, allocations: 12 kB / 0.4946 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.196, allocations: 0 / 0.4946 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.196, allocations: 3.984 kB / 0.4946 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/0.2002, allocations: 2.41 MB / 0.497 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2002, allocations: 3.938 kB / 0.497 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/0.2028, allocations: 0.4955 MB / 0.4975 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.203, allocations: 32.84 kB / 0.4975 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.2031, allocations: 19.98 kB / 0.4975 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.2044, allocations: 1.626 MB / 0.4991 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2044, allocations: 4.031 kB / 0.4991 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/0.2077, allocations: 2.008 MB / 0.5011 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.2079, allocations: 136.3 kB / 0.5012 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.208, allocations: 12 kB / 0.5012 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/0.2086, allocations: 63.91 kB / 0.5013 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.2088, allocations: 72.41 kB / 0.5013 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.265e-05/0.2089, allocations: 16 kB / 0.5014 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004195/0.2093, allocations: 322.8 kB / 0.5017 GB, free: 13.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2093, allocations: 0 / 0.5017 GB, free: 13.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001117/0.2104, allocations: 228 kB / 0.5019 GB, free: 13.52 MB / 398.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.0003053/0.2108, allocations: 141.3 kB / 0.502 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003849/0.2146, allocations: 1.84 MB / 0.5038 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.2146, allocations: 0 / 0.5038 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002803/0.2174, allocations: 0.994 MB / 0.5048 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.2185, allocations: 176.3 kB / 0.5049 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/0.2233, allocations: 2.287 MB / 0.5072 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009445/0.2243, allocations: 1.071 MB / 0.5082 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006318/0.2249, allocations: 209.5 kB / 0.5084 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.2252, allocations: 59.42 kB / 0.5085 GB, free: 6.633 MB / 398.1 MB Notification: Performance of SimCode: time 1.383e-06/0.2252, allocations: 4 kB / 0.5085 GB, free: 6.629 MB / 398.1 MB Notification: Performance of Templates: time 0.2303/0.4554, allocations: 13.33 MB / 0.5215 GB, free: 70.28 MB / 398.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)