Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001486/0.001487, allocations: 191 kB / 17.2 MB, free: 5.613 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.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8123/0.8123, allocations: 126.7 MB / 417.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.91 kB / 0.4958 GB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4256, allocations: 78.85 MB / 0.5728 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03043/0.456, allocations: 23.39 MB / 0.5956 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.471, allocations: 6.494 MB / 0.602 GB, free: 7.848 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005397/0.4765, allocations: 99.5 kB / 0.6021 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005369/0.482, allocations: 1.486 MB / 0.6035 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007123/0.4892, allocations: 1.828 MB / 0.6053 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005014/0.4942, allocations: 1.461 MB / 0.6067 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01032/0.5046, allocations: 6.914 MB / 0.6135 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/0.5167, allocations: 7.008 MB / 0.6203 GB, free: 5.012 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006681/0.5234, allocations: 2.828 MB / 0.6231 GB, free: 2.176 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008221/0.5317, allocations: 3.474 MB / 0.6265 GB, free: 14.69 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0026/0.5343, allocations: 0.5234 MB / 0.627 GB, free: 14.17 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005389/0.5397, allocations: 1.178 MB / 0.6281 GB, free: 12.99 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005282/0.5451, allocations: 2.464 MB / 0.6305 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006529/0.5516, allocations: 2.536 MB / 0.633 GB, free: 7.973 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.5652, allocations: 8.464 MB / 0.6413 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5653, allocations: 0 / 0.6413 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5653, allocations: 0 / 0.6413 GB, free: 15.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003093/0.5656, allocations: 4 kB / 0.6413 GB, free: 15.48 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01396/0.5796, allocations: 4.424 MB / 0.6456 GB, free: 10.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.5797, allocations: 16.61 kB / 0.6456 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.5899, allocations: 1.685 MB / 0.6473 GB, free: 9.281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006733/0.5966, allocations: 2.567 MB / 0.6498 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/0.5971, allocations: 279.6 kB / 0.65 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002538/0.5996, allocations: 360.3 kB / 0.6504 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/0.6239, allocations: 7.479 MB / 0.6577 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002262/0.6241, allocations: 19.78 kB / 0.6577 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00188/0.626, allocations: 163.9 kB / 0.6579 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009045/0.627, allocations: 491.3 kB / 0.6583 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/0.6423, allocations: 5.697 MB / 0.6639 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05167/0.694, allocations: 31.71 MB / 0.6949 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/0.6977, allocations: 2.086 MB / 0.6969 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003517/0.7012, allocations: 2.174 MB / 0.699 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.7015, allocations: 17.31 kB / 0.699 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.7015, allocations: 51.81 kB / 0.6991 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.677e-06/0.7015, allocations: 0 / 0.6991 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.7124/1.414, allocations: 77 MB / 0.7743 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/1.414, allocations: 77.41 kB / 0.7743 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/1.416, allocations: 1.666 MB / 0.776 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004212/1.417, allocations: 65.7 kB / 0.776 GB, free: 146 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007158/1.417, allocations: 1.746 MB / 0.7777 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006314/1.418, allocations: 0.8529 MB / 0.7786 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008209/1.419, allocations: 493.2 kB / 0.779 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.307e-05/1.419, allocations: 301.1 kB / 0.7793 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002968/1.422, allocations: 2.728 MB / 0.782 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003262/1.425, allocations: 3.332 MB / 0.7853 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006532/1.432, allocations: 6.394 MB / 0.7915 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/1.432, allocations: 11.94 kB / 0.7915 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02799/1.46, allocations: 14.68 MB / 0.8058 GB, free: 115 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/1.46, allocations: 12 kB / 0.8059 GB, free: 115 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.46, allocations: 16.09 kB / 0.8059 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02576/1.485, allocations: 9.303 MB / 0.815 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.487, allocations: 299.5 kB / 0.8152 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06521/1.552, allocations: 52.39 MB / 0.8664 GB, free: 52.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/1.555, allocations: 223.7 kB / 0.8666 GB, free: 51.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002968/1.555, allocations: 96 kB / 0.8667 GB, free: 51.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003357/1.559, allocations: 1.583 MB / 0.8682 GB, free: 50.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008289/1.56, allocations: 249 kB / 0.8685 GB, free: 49.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0284/1.588, allocations: 14.76 MB / 0.8829 GB, free: 35.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/1.588, allocations: 28 kB / 0.8829 GB, free: 35.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001478/1.588, allocations: 44 kB / 0.883 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.164e-05/1.588, allocations: 11.95 kB / 0.883 GB, free: 35.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03635/1.625, allocations: 20.51 MB / 0.903 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/1.625, allocations: 4 kB / 0.903 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/1.625, allocations: 171.7 kB / 0.9032 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02575/1.651, allocations: 9.058 MB / 0.912 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005293/1.652, allocations: 50.2 kB / 0.9121 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08476/1.736, allocations: 51.95 MB / 0.9628 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/1.737, allocations: 11.94 kB / 0.9628 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03377/1.77, allocations: 14.35 MB / 0.9768 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/1.772, allocations: 0.8493 MB / 0.9777 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005394/1.773, allocations: 55.91 kB / 0.9777 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/1.775, allocations: 208 kB / 0.9779 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001518/1.777, allocations: 241.1 kB / 0.9781 GB, free: 452 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002382/1.777, allocations: 68 kB / 0.9782 GB, free: 384 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001938/1.779, allocations: 1.125 MB / 0.9793 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/1.779, allocations: 0 / 0.9793 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006421/1.785, allocations: 1.617 MB / 0.9809 GB, free: 13.61 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006033/1.786, allocations: 167 kB / 0.981 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.3376/2.124, allocations: 11.32 MB / 0.9921 GB, free: 220.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/2.124, allocations: 1.875 kB / 0.9921 GB, free: 220.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.02227/2.146, allocations: 7.312 MB / 0.9992 GB, free: 219.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003972/2.15, allocations: 0.5564 MB / 0.9998 GB, free: 219.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/2.168, allocations: 8.776 MB / 1.008 GB, free: 216.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004245/2.172, allocations: 3.225 MB / 1.012 GB, free: 216.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001365/2.174, allocations: 392.8 kB / 1.012 GB, free: 216.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/2.174, allocations: 97.41 kB / 1.012 GB, free: 216.1 MB / 0.6544 GB Notification: Performance of SimCode: time 1.272e-06/2.174, allocations: 0 / 1.012 GB, free: 216.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.1252/2.299, allocations: 91.84 MB / 1.102 GB, free: 136.6 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)