Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 106.4 kB / 16.51 MB, free: 6.719 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.002398/0.002398, allocations: 194.5 kB / 17.43 MB, free: 6.059 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.391/1.391, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.181/0.181, allocations: 38.03 MB / 329.3 MB, free: 9.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 62.12 kB / 398.1 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1083, allocations: 58.06 MB / 456.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.00852/0.1169, allocations: 7.377 MB / 463.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003369/0.1203, allocations: 1.761 MB / 465.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007748/0.1211, allocations: 47.69 kB / 465.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.1218, allocations: 131.1 kB / 465.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.1231, allocations: 394.3 kB / 465.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006849/0.1238, allocations: 191.7 kB / 466 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.1262, allocations: 1.672 MB / 467.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006199/0.1269, allocations: 287 kB / 468 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.128, allocations: 406.2 kB / 468.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.1292, allocations: 0.5491 MB / 468.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.1294, allocations: 40 kB / 469 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.1296, allocations: 40 kB / 469 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003443/0.13, allocations: 295.2 kB / 469.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.1305, allocations: 346.3 kB / 469.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008429/0.1313, allocations: 0.841 MB / 470.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1313, allocations: 3.938 kB / 470.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1313, allocations: 0 / 470.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1313, allocations: 4 kB / 470.5 MB, free: 10.12 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002174/0.1335, allocations: 1.019 MB / 471.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1336, allocations: 12.03 kB / 471.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.1337, allocations: 76 kB / 471.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009568/0.1347, allocations: 0.5613 MB / 472.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.1349, allocations: 112.8 kB / 472.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.135, allocations: 56 kB / 472.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.1363, allocations: 0.7811 MB / 473.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1364, allocations: 0 / 473.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.1364, allocations: 24 kB / 473.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.1365, allocations: 36.97 kB / 473.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.1379, allocations: 0.6908 MB / 473.8 MB, free: 6.617 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004499/0.1424, allocations: 2.712 MB / 476.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.1442, allocations: 0.8853 MB / 477.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005711/0.1447, allocations: 332.4 kB / 477.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.1448, allocations: 4 kB / 477.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1448, allocations: 38.56 kB / 477.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.933e-06/0.1448, allocations: 0 / 477.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003816/0.1487, allocations: 1.937 MB / 479.7 MB, free: 436 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.1487, allocations: 89.05 kB / 479.8 MB, free: 328 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.1492, allocations: 421.9 kB / 480.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.1492, allocations: 37.73 kB / 480.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.1494, allocations: 316.2 kB / 480.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1495, allocations: 138 kB / 480.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.1497, allocations: 82.25 kB / 480.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1498, allocations: 362.8 kB / 481.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.1503, allocations: 236.9 kB / 481.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.1508, allocations: 362.2 kB / 481.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000958/0.1518, allocations: 0.5744 MB / 482.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1518, allocations: 0 / 482.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001323/0.1531, allocations: 0.7882 MB / 483.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1532, allocations: 12.03 kB / 483.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.1532, allocations: 4 kB / 483.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.1535, allocations: 77.59 kB / 483.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.1548, allocations: 283.6 kB / 483.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005349/0.1602, allocations: 6.018 MB / 489.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.1606, allocations: 31.97 kB / 489.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.1607, allocations: 19.94 kB / 489.5 MB, free: 5.914 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003628/0.1611, allocations: 241.8 kB / 489.8 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.059e-05/0.1611, allocations: 47.44 kB / 489.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.1625, allocations: 0.7296 MB / 490.6 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1625, allocations: 4 kB / 490.6 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1625, allocations: 4 kB / 490.6 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1625, allocations: 0 / 490.6 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.1648, allocations: 1.506 MB / 492.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1648, allocations: 0 / 492.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/0.1663, allocations: 303.6 kB / 492.4 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/0.1666, allocations: 89.62 kB / 492.5 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.1666, allocations: 8 kB / 492.5 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.1686, allocations: 2.887 MB / 495.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1686, allocations: 7.969 kB / 495.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.1704, allocations: 1.114 MB / 496.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.1705, allocations: 124.4 kB / 496.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.612e-05/0.1706, allocations: 8 kB / 496.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.1709, allocations: 39.89 kB / 496.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1711, allocations: 35.94 kB / 496.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.1711, allocations: 8.094 kB / 496.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003243/0.1714, allocations: 303.1 kB / 497 MB, free: 14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1714, allocations: 0 / 497 MB, free: 14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006394/0.1721, allocations: 136 kB / 497.1 MB, free: 13.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.1722, allocations: 111.2 kB / 497.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.1746, allocations: 0.9926 MB / 498.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1746, allocations: 0 / 498.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.1764, allocations: 0.7207 MB / 498.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.1772, allocations: 137.8 kB / 499.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.1797, allocations: 1.662 MB / 0.489 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.1803, allocations: 0.9485 MB / 0.4899 GB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000334/0.1806, allocations: 100.5 kB / 0.49 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.1808, allocations: 39.42 kB / 0.4901 GB, free: 9.055 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1808, allocations: 4 kB / 0.4901 GB, free: 9.051 MB / 382.1 MB Notification: Performance of Templates: time 0.01314/0.1939, allocations: 7.282 MB / 0.4972 GB, free: 1.828 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)