Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 115.2 kB / 17.08 MB, free: 5.973 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.001113/0.001113, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.258/1.258, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6878/0.6878, allocations: 115.3 MB / 407.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 68.11 kB / 0.5583 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1553, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004782/0.1601, allocations: 3.377 MB / 0.636 GB, free: 1 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1633, allocations: 2.178 MB / 0.6382 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1634, allocations: 11.94 kB / 0.6382 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008818/0.1644, allocations: 292.7 kB / 0.6384 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.1648, allocations: 230.9 kB / 0.6387 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006941/0.1655, allocations: 295.2 kB / 0.6389 GB, free: 14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.1659, allocations: 390.7 kB / 0.6393 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.1663, allocations: 200.8 kB / 0.6395 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1665, allocations: 159.3 kB / 0.6397 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.1668, allocations: 175.4 kB / 0.6398 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.1669, allocations: 20 kB / 0.6398 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005873/0.1674, allocations: 431.1 kB / 0.6403 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-05/0.1676, allocations: 95.72 kB / 0.6404 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.1677, allocations: 143.3 kB / 0.6405 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005757/0.1683, allocations: 0.5141 MB / 0.641 GB, free: 11.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1683, allocations: 0 / 0.641 GB, free: 11.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1683, allocations: 4 kB / 0.641 GB, free: 11.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1683, allocations: 0 / 0.641 GB, free: 11.89 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009481/0.1693, allocations: 0.6096 MB / 0.6416 GB, free: 11.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1693, allocations: 8.031 kB / 0.6416 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008112/0.1701, allocations: 124.4 kB / 0.6417 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.1705, allocations: 275.8 kB / 0.642 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1705, allocations: 20.8 kB / 0.642 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.1706, allocations: 16.38 kB / 0.642 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.1712, allocations: 419.8 kB / 0.6424 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1712, allocations: 7.938 kB / 0.6424 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.1713, allocations: 15.98 kB / 0.6424 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.1713, allocations: 28.55 kB / 0.6425 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.1719, allocations: 342 kB / 0.6428 GB, free: 9.934 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.1742, allocations: 2.046 MB / 0.6448 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.175, allocations: 360.9 kB / 0.6451 GB, free: 7.328 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.1754, allocations: 185.6 kB / 0.6453 GB, free: 7.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.77e-05/0.1755, allocations: 85.11 kB / 0.6454 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1755, allocations: 42.55 kB / 0.6454 GB, free: 6.988 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.1755, allocations: 0 / 0.6454 GB, free: 6.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.004694/0.1802, allocations: 1.578 MB / 0.647 GB, free: 5.375 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.1803, allocations: 89.08 kB / 0.6471 GB, free: 5.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1805, allocations: 229 kB / 0.6473 GB, free: 5.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.1805, allocations: 33.7 kB / 0.6473 GB, free: 5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1806, allocations: 183.9 kB / 0.6475 GB, free: 4.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.1807, allocations: 122.3 kB / 0.6476 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1809, allocations: 82.03 kB / 0.6477 GB, free: 4.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.181, allocations: 334.8 kB / 0.648 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.1814, allocations: 198.5 kB / 0.6482 GB, free: 4.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.1818, allocations: 305.1 kB / 0.6485 GB, free: 3.727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007874/0.1826, allocations: 0.5085 MB / 0.649 GB, free: 3.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1826, allocations: 0 / 0.649 GB, free: 3.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001164/0.1838, allocations: 0.6601 MB / 0.6496 GB, free: 2.496 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1838, allocations: 8 kB / 0.6496 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1838, allocations: 7.938 kB / 0.6496 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004719/0.1843, allocations: 147.5 kB / 0.6498 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.1847, allocations: 95.81 kB / 0.6499 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.1875, allocations: 4.166 MB / 0.6539 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.1878, allocations: 39.86 kB / 0.654 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.1878, allocations: 16 kB / 0.654 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004671/0.1883, allocations: 321.5 kB / 0.6543 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004201/0.1887, allocations: 297.2 kB / 0.6546 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007875/0.1895, allocations: 0.5115 MB / 0.6551 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.1895, allocations: 4 kB / 0.6551 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001161/0.1907, allocations: 0.6448 MB / 0.6557 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1907, allocations: 4 kB / 0.6557 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1907, allocations: 15.86 kB / 0.6557 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003796/0.1911, allocations: 143.5 kB / 0.6559 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.1915, allocations: 91.88 kB / 0.656 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.1942, allocations: 4.174 MB / 0.66 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.1945, allocations: 36 kB / 0.6601 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.1945, allocations: 16 kB / 0.6601 GB, free: 6.984 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.1947, allocations: 208.1 kB / 0.6603 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.1947, allocations: 27.62 kB / 0.6603 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.1959, allocations: 0.6048 MB / 0.6609 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1959, allocations: 8 kB / 0.6609 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.196, allocations: 4 kB / 0.6609 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.196, allocations: 3.984 kB / 0.6609 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.198, allocations: 1.32 MB / 0.6622 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.198, allocations: 4 kB / 0.6622 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.1983, allocations: 64.14 kB / 0.6623 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003656/0.1987, allocations: 143.3 kB / 0.6624 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.1987, allocations: 12 kB / 0.6624 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.2014, allocations: 4.19 MB / 0.6665 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.2014, allocations: 4.031 kB / 0.6665 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.2025, allocations: 0.7663 MB / 0.6673 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.2026, allocations: 136.7 kB / 0.6674 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.2027, allocations: 12 kB / 0.6674 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.203, allocations: 27.97 kB / 0.6674 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.2031, allocations: 35.95 kB / 0.6675 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.2031, allocations: 19.94 kB / 0.6675 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001446/0.2032, allocations: 168.5 kB / 0.6676 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.934e-06/0.2033, allocations: 0 / 0.6676 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000702/0.204, allocations: 167.9 kB / 0.6678 GB, free: 14.53 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002121/0.2042, allocations: 147.1 kB / 0.6679 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.2062, allocations: 1.23 MB / 0.6691 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2062, allocations: 3.938 kB / 0.6691 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006762/0.2069, allocations: 493.2 kB / 0.6696 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.2074, allocations: 61.89 kB / 0.6697 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2086, allocations: 0.7917 MB / 0.6704 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.209, allocations: 0.8083 MB / 0.6712 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.2091, allocations: 23.44 kB / 0.6713 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.2091, allocations: 4 kB / 0.6713 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of Templates: time 0.01036/0.2194, allocations: 9.12 MB / 0.6802 GB, free: 1.699 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)