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.001181/0.001181, allocations: 102.6 kB / 17.59 MB, free: 5.422 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.001244/0.001244, allocations: 191.3 kB / 18.52 MB, free: 4.496 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.33/1.33, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1804/0.1804, allocations: 38.03 MB / 330.4 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 61.55 kB / 399.5 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1039, allocations: 58.06 MB / 457.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007906/0.1118, allocations: 6.772 MB / 464.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00367/0.1155, allocations: 2.146 MB / 466.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005213/0.1161, allocations: 27.81 kB / 466.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.1177, allocations: 0.5079 MB / 467 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.1191, allocations: 0.556 MB / 467.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009461/0.12, allocations: 367.3 kB / 467.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.1215, allocations: 1.302 MB / 469.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000989/0.1225, allocations: 0.7363 MB / 469.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008109/0.1234, allocations: 0.5449 MB / 470.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009183/0.1243, allocations: 0.6893 MB / 471.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.1245, allocations: 100 kB / 471.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009465/0.1254, allocations: 0.55 MB / 471.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004195/0.1258, allocations: 462.9 kB / 472.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.1264, allocations: 0.5211 MB / 472.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.1278, allocations: 1.449 MB / 474.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.1278, allocations: 4 kB / 474.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1278, allocations: 0 / 474.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.1278, allocations: 4 kB / 474.2 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.002649/0.1305, allocations: 1.343 MB / 475.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1305, allocations: 11.89 kB / 475.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007387/0.1313, allocations: 147.7 kB / 475.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1324, allocations: 0.6437 MB / 476.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.1326, allocations: 183.6 kB / 476.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.1328, allocations: 95.78 kB / 476.7 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.1349, allocations: 1.362 MB / 478 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.135, allocations: 0 / 478 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.868e-05/0.1351, allocations: 32 kB / 478 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/0.1352, allocations: 61.97 kB / 478.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.1375, allocations: 1.296 MB / 479.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006664/0.1442, allocations: 4.916 MB / 484.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.1464, allocations: 1.142 MB / 485.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.1475, allocations: 0.6232 MB / 486.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.624e-05/0.1476, allocations: 16.48 kB / 486.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.1476, allocations: 43.06 kB / 486.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.216e-06/0.1476, allocations: 0 / 486.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005725/0.1533, allocations: 3.178 MB / 489.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.1534, allocations: 85.67 kB / 489.4 MB, free: 7.598 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.154, allocations: 465.9 kB / 489.9 MB, free: 7.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.154, allocations: 37.7 kB / 489.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.1543, allocations: 399.3 kB / 490.3 MB, free: 6.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.1545, allocations: 256.3 kB / 490.5 MB, free: 6.434 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.1547, allocations: 150.6 kB / 490.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1549, allocations: 374.8 kB / 491 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008708/0.1557, allocations: 0.4899 MB / 491.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009885/0.1567, allocations: 0.6911 MB / 492.2 MB, free: 4.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.1586, allocations: 1.212 MB / 493.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.1587, allocations: 7.938 kB / 493.4 MB, free: 3.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004367/0.163, allocations: 1.978 MB / 495.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.1631, allocations: 4 kB / 495.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003803/0.1669, allocations: 1.719 MB / 497.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.1687, allocations: 0.6534 MB / 497.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.1694, allocations: 155.8 kB / 498 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.1808, allocations: 7.408 MB / 0.4935 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008077/0.1817, allocations: 84 kB / 0.4936 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.1818, allocations: 31.98 kB / 0.4936 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.0005752/0.1824, allocations: 309.5 kB / 0.4939 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.1826, allocations: 59.25 kB / 0.494 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.185, allocations: 1.305 MB / 0.4953 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.185, allocations: 12 kB / 0.4953 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.185, allocations: 0 / 0.4953 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.1851, allocations: 3.984 kB / 0.4953 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.189, allocations: 2.414 MB / 0.4976 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.1891, allocations: 3.938 kB / 0.4976 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002644/0.1917, allocations: 0.4915 MB / 0.4981 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.1918, allocations: 36.84 kB / 0.4981 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/0.1919, allocations: 19.98 kB / 0.4982 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.1931, allocations: 1.622 MB / 0.4998 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1931, allocations: 3.938 kB / 0.4998 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/0.1963, allocations: 2.02 MB / 0.5017 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.1965, allocations: 132.4 kB / 0.5019 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.1967, allocations: 19.98 kB / 0.5019 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/0.1972, allocations: 59.92 kB / 0.5019 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.1974, allocations: 64.41 kB / 0.502 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.1975, allocations: 16 kB / 0.502 GB, free: 14.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003672/0.1979, allocations: 326.8 kB / 0.5023 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1979, allocations: 0 / 0.5023 GB, free: 13.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009669/0.1988, allocations: 232 kB / 0.5025 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.0002642/0.1991, allocations: 135 kB / 0.5027 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003532/0.2027, allocations: 1.836 MB / 0.5045 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2027, allocations: 448 / 0.5045 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002636/0.2053, allocations: 0.9858 MB / 0.5054 GB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009315/0.2063, allocations: 157 kB / 0.5056 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.2107, allocations: 2.364 MB / 0.5079 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007895/0.2115, allocations: 1.075 MB / 0.5089 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.2118, allocations: 59.44 kB / 0.509 GB, free: 6.785 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2118, allocations: 0 / 0.509 GB, free: 6.785 MB / 398.1 MB Notification: Performance of Templates: time 0.2066/0.4184, allocations: 20.16 MB / 0.5287 GB, free: 67.3 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)