Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 115.1 kB / 17.09 MB, free: 5.996 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.0009432/0.0009433, allocations: 188.7 kB / 18.01 MB, free: 5.078 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.261/1.261, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6992/0.6992, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.86 kB / 0.5584 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1242, allocations: 76.18 MB / 0.6328 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01816/0.1424, allocations: 15.72 MB / 0.6481 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008771/0.1512, allocations: 5.751 MB / 0.6537 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.1523, allocations: 39.94 kB / 0.6538 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003193/0.1555, allocations: 1.254 MB / 0.655 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.1581, allocations: 0.9998 MB / 0.656 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.1607, allocations: 1.013 MB / 0.657 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004208/0.1649, allocations: 3.964 MB / 0.6608 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005909/0.1708, allocations: 5.063 MB / 0.6658 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.1731, allocations: 1.742 MB / 0.6675 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003035/0.1762, allocations: 2.088 MB / 0.6695 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009335/0.1771, allocations: 408 kB / 0.6699 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.1794, allocations: 1.081 MB / 0.671 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002156/0.1816, allocations: 1.63 MB / 0.6725 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002643/0.1842, allocations: 1.592 MB / 0.6741 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006527/0.1908, allocations: 5.96 MB / 0.6799 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1908, allocations: 0 / 0.6799 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1908, allocations: 0 / 0.6799 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001811/0.191, allocations: 0 / 0.6799 GB, free: 3.887 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.007876/0.1989, allocations: 2.833 MB / 0.6827 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1989, allocations: 8.031 kB / 0.6827 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.2103, allocations: 1.995 MB / 0.6846 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004195/0.2145, allocations: 1.561 MB / 0.6862 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.2147, allocations: 201.8 kB / 0.6864 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/0.2159, allocations: 260.4 kB / 0.6866 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/0.2292, allocations: 5.455 MB / 0.6919 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.468e-05/0.2293, allocations: 11.94 kB / 0.692 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006274/0.23, allocations: 116 kB / 0.6921 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003089/0.2303, allocations: 192.5 kB / 0.6922 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/0.2437, allocations: 5.692 MB / 0.6978 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02558/0.2693, allocations: 21.05 MB / 0.7184 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005734/0.2751, allocations: 3.009 MB / 0.7213 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005231/0.2803, allocations: 2.133 MB / 0.7234 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.2805, allocations: 118 kB / 0.7235 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.2806, allocations: 55.5 kB / 0.7235 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=139): time 3.366e-06/0.2806, allocations: 0 / 0.7235 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181): time 0.03889/0.3195, allocations: 12.81 MB / 0.7361 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.3197, allocations: 230.9 kB / 0.7363 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.3209, allocations: 0.9881 MB / 0.7372 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.3211, allocations: 49.7 kB / 0.7373 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007796/0.3219, allocations: 1.096 MB / 0.7384 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007902/0.3227, allocations: 0.62 MB / 0.739 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009302/0.3237, allocations: 468 kB / 0.7394 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.3239, allocations: 337.9 kB / 0.7397 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004868/0.3287, allocations: 1.927 MB / 0.7416 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/0.3338, allocations: 2.501 MB / 0.7441 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009807/0.3436, allocations: 4.462 MB / 0.7484 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-05/0.3437, allocations: 4 kB / 0.7484 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01322/0.3569, allocations: 5.524 MB / 0.7538 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.357, allocations: 12 kB / 0.7538 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/0.357, allocations: 20 kB / 0.7538 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003314/0.3603, allocations: 1.213 MB / 0.755 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/0.3636, allocations: 0.7487 MB / 0.7558 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.296/0.6596, allocations: 11.4 MB / 0.7669 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/0.6629, allocations: 452.4 kB / 0.7673 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002828/0.6632, allocations: 114.9 kB / 0.7674 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006323/0.6696, allocations: 2.936 MB / 0.7703 GB, free: 110.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005449/0.675, allocations: 2.495 MB / 0.7727 GB, free: 109 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009531/0.6846, allocations: 4.434 MB / 0.7771 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.73e-05/0.6846, allocations: 5.375 kB / 0.7771 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01192/0.6965, allocations: 5.455 MB / 0.7824 GB, free: 105.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.6966, allocations: 15.84 kB / 0.7824 GB, free: 105.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.6966, allocations: 23.84 kB / 0.7824 GB, free: 105.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/0.6989, allocations: 1.129 MB / 0.7835 GB, free: 105.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/0.7019, allocations: 0.7466 MB / 0.7843 GB, free: 105.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.7126, allocations: 11.24 MB / 0.7953 GB, free: 97.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/0.7154, allocations: 449.3 kB / 0.7957 GB, free: 97.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/0.7156, allocations: 116 kB / 0.7958 GB, free: 96.91 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (220): * Single equations (assignments): 218 * Array equations: 0 * 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): 2 systems {(5,31,92.0%), (6,30,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004957/0.7161, allocations: 305.1 kB / 0.7961 GB, free: 96.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.7165, allocations: 127.9 kB / 0.7962 GB, free: 96.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/0.7266, allocations: 5.201 MB / 0.8013 GB, free: 91.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.7267, allocations: 16 kB / 0.8013 GB, free: 91.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.7267, allocations: 17.06 kB / 0.8013 GB, free: 91.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.7267, allocations: 11.97 kB / 0.8013 GB, free: 91.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/0.7414, allocations: 8.861 MB / 0.81 GB, free: 82.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.7414, allocations: 8 kB / 0.81 GB, free: 82.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002292/0.7437, allocations: 0.5427 MB / 0.8105 GB, free: 81.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/0.7458, allocations: 0.9578 MB / 0.8115 GB, free: 80.69 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/0.746, allocations: 55.95 kB / 0.8115 GB, free: 80.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.7564, allocations: 10.88 MB / 0.8221 GB, free: 69.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.7565, allocations: 11.94 kB / 0.8221 GB, free: 69.47 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009834/0.7663, allocations: 4.845 MB / 0.8269 GB, free: 64.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.7674, allocations: 0.5014 MB / 0.8274 GB, free: 63.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/0.7678, allocations: 40 kB / 0.8274 GB, free: 63.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/0.7702, allocations: 400.4 kB / 0.8278 GB, free: 63.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.7706, allocations: 169.5 kB / 0.8279 GB, free: 63.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.7708, allocations: 71.95 kB / 0.828 GB, free: 63.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007986/0.7716, allocations: 0.7215 MB / 0.8287 GB, free: 62.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7716, allocations: 0 / 0.8287 GB, free: 62.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003506/0.7751, allocations: 1.187 MB / 0.8299 GB, free: 61.41 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 107 * Array equations: 0 * 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): 2 systems {(4,32,100.0%), (7,29,63.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002595/0.7753, allocations: 161.6 kB / 0.83 GB, free: 61.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0161/0.7915, allocations: 8.127 MB / 0.838 GB, free: 53.08 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/0.7915, allocations: 0 / 0.838 GB, free: 53.08 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005557/0.7971, allocations: 2.679 MB / 0.8406 GB, free: 50.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.7986, allocations: 198.4 kB / 0.8408 GB, free: 50.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/0.8157, allocations: 7.67 MB / 0.8483 GB, free: 42.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.8174, allocations: 2.287 MB / 0.8505 GB, free: 40.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008541/0.8182, allocations: 163.3 kB / 0.8506 GB, free: 39.92 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/0.8182, allocations: 0 / 0.8506 GB, free: 39.92 MB / 0.5919 GB Notification: Performance of Templates: time 0.05778/0.876, allocations: 64.35 MB / 0.9135 GB, free: 7.531 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)