Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 113.4 kB / 17.04 MB, free: 6.07 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.001501/0.0015, allocations: 195 kB / 17.98 MB, free: 5.148 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.728/0.728, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3776, allocations: 76.14 MB / 0.5576 GB, free: 36.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01102/0.3886, allocations: 10.06 MB / 0.5674 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005375/0.394, allocations: 3.169 MB / 0.5705 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009559/0.395, allocations: 37.59 kB / 0.5705 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.3968, allocations: 0.6017 MB / 0.5711 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.3986, allocations: 0.7373 MB / 0.5719 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.4005, allocations: 0.7509 MB / 0.5726 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003664/0.4042, allocations: 2.992 MB / 0.5755 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/0.4077, allocations: 2.584 MB / 0.578 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.41, allocations: 1.252 MB / 0.5793 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/0.4129, allocations: 1.557 MB / 0.5808 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009865/0.4139, allocations: 236.3 kB / 0.581 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.4158, allocations: 0.5024 MB / 0.5815 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002229/0.4181, allocations: 1.066 MB / 0.5825 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003015/0.4211, allocations: 1.111 MB / 0.5836 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006396/0.4275, allocations: 3.691 MB / 0.5872 GB, free: 20.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.4276, allocations: 1.219 kB / 0.5872 GB, free: 20.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4276, allocations: 0 / 0.5872 GB, free: 20.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001343/0.4277, allocations: 0 / 0.5872 GB, free: 20.05 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00599/0.4337, allocations: 2.144 MB / 0.5893 GB, free: 18.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4338, allocations: 8.656 kB / 0.5893 GB, free: 18.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008747/0.4425, allocations: 1.319 MB / 0.5906 GB, free: 17.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003619/0.4462, allocations: 1.301 MB / 0.5919 GB, free: 17.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.4463, allocations: 115.5 kB / 0.592 GB, free: 16.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007343/0.4471, allocations: 149.1 kB / 0.5921 GB, free: 16.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005325/0.4524, allocations: 3.445 MB / 0.5955 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.634e-05/0.4525, allocations: 7.938 kB / 0.5955 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003176/0.4529, allocations: 59.97 kB / 0.5956 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003045/0.4532, allocations: 207.1 kB / 0.5958 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004693/0.4579, allocations: 3.124 MB / 0.5988 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01851/0.4764, allocations: 13.55 MB / 0.612 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.4791, allocations: 1.737 MB / 0.6137 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002018/0.4811, allocations: 1.436 MB / 0.6151 GB, free: 8.496 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.4813, allocations: 9 kB / 0.6151 GB, free: 8.488 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4813, allocations: 47.55 kB / 0.6152 GB, free: 8.434 MB / 462.1 MB Notification: Performance of pre-optimization done (n=104): time 2.846e-06/0.4813, allocations: 0 / 0.6152 GB, free: 8.434 MB / 462.1 MB Notification: Performance of matching and sorting (n=183): time 0.1404/0.6217, allocations: 36.67 MB / 0.651 GB, free: 3.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.6218, allocations: 73.41 kB / 0.6511 GB, free: 3.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.6234, allocations: 1.053 MB / 0.6521 GB, free: 2.461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003813/0.6238, allocations: 57.7 kB / 0.6522 GB, free: 2.398 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/0.6244, allocations: 0.7874 MB / 0.6529 GB, free: 1.598 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007592/0.6251, allocations: 0.6238 MB / 0.6535 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008692/0.626, allocations: 363.4 kB / 0.6539 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.6261, allocations: 301.1 kB / 0.6542 GB, free: 312 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/0.6289, allocations: 1.928 MB / 0.6561 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003035/0.6319, allocations: 2.285 MB / 0.6583 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006109/0.6381, allocations: 4.394 MB / 0.6626 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.6381, allocations: 4 kB / 0.6626 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02105/0.6592, allocations: 9.027 MB / 0.6714 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.6592, allocations: 11.94 kB / 0.6714 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.6593, allocations: 12 kB / 0.6714 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01756/0.6768, allocations: 4.968 MB / 0.6763 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009466/0.6778, allocations: 191.7 kB / 0.6765 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06169/0.7395, allocations: 38.89 MB / 0.7144 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.7417, allocations: 99.89 kB / 0.7145 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003999/0.7421, allocations: 75.92 kB / 0.7146 GB, free: 1.551 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001847/0.7439, allocations: 0.8095 MB / 0.7154 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.7444, allocations: 134.4 kB / 0.7155 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02066/0.7651, allocations: 8.886 MB / 0.7242 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/0.7651, allocations: 20 kB / 0.7242 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-05/0.7652, allocations: 31.94 kB / 0.7242 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.264e-05/0.7652, allocations: 7.969 kB / 0.7243 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02815/0.7934, allocations: 13.27 MB / 0.7372 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/0.7935, allocations: 4 kB / 0.7372 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.794, allocations: 123.8 kB / 0.7373 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01646/0.8104, allocations: 4.765 MB / 0.742 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004241/0.8109, allocations: 32 kB / 0.742 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2908/1.102, allocations: 34.83 MB / 0.776 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.102, allocations: 8.656 kB / 0.776 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/1.119, allocations: 8.399 MB / 0.7842 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/1.121, allocations: 0.6151 MB / 0.7848 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004391/1.122, allocations: 35.45 kB / 0.7849 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.123, allocations: 89.69 kB / 0.785 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008555/1.124, allocations: 170 kB / 0.7851 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/1.124, allocations: 46.41 kB / 0.7852 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008538/1.125, allocations: 0.7334 MB / 0.7859 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/1.125, allocations: 0 / 0.7859 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003137/1.128, allocations: 1.008 MB / 0.7869 GB, free: 147.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000359/1.128, allocations: 144.5 kB / 0.787 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008266/1.137, allocations: 5.871 MB / 0.7927 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.137, allocations: 3.938 kB / 0.7927 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006809/1.143, allocations: 3.839 MB / 0.7965 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/1.145, allocations: 248.8 kB / 0.7967 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006956/1.152, allocations: 4.937 MB / 0.8016 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/1.154, allocations: 1.861 MB / 0.8034 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007245/1.154, allocations: 355.2 kB / 0.8037 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/1.154, allocations: 67.38 kB / 0.8038 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/1.154, allocations: 0 / 0.8038 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.06708/1.222, allocations: 59.13 MB / 0.8615 GB, free: 73.53 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)