Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002147/0.002147, allocations: 194.3 kB / 16.14 MB, free: 6.715 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002594/0.002594, allocations: 264.2 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.084/1.084, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 100.3 kB / 0.6057 GB, free: 25.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1847, allocations: 89.15 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03911/0.2239, allocations: 32.31 MB / 0.7244 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.242, allocations: 10.26 MB / 0.7344 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003582/0.2456, allocations: 135.2 kB / 0.7345 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009469/0.2551, allocations: 3.477 MB / 0.7379 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00575/0.2609, allocations: 1.739 MB / 0.7396 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005969/0.2669, allocations: 1.934 MB / 0.7415 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01432/0.2812, allocations: 10.58 MB / 0.7518 GB, free: 8.246 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3322/0.6134, allocations: 10.61 MB / 0.7622 GB, free: 19.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.619, allocations: 2.698 MB / 0.7648 GB, free: 19.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006065/0.6251, allocations: 3.556 MB / 0.7683 GB, free: 19.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002277/0.6274, allocations: 451.9 kB / 0.7687 GB, free: 19.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/0.6319, allocations: 1.879 MB / 0.7706 GB, free: 19.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003036/0.6349, allocations: 2.342 MB / 0.7728 GB, free: 19.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004323/0.6392, allocations: 2.661 MB / 0.7754 GB, free: 18.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.651, allocations: 9.982 MB / 0.7852 GB, free: 17.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.651, allocations: 1.156 kB / 0.7852 GB, free: 17.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.926e-06/0.651, allocations: 0 / 0.7852 GB, free: 17.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003284/0.6514, allocations: 3.281 kB / 0.7852 GB, free: 17.78 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01481/0.6662, allocations: 4.988 MB / 0.7901 GB, free: 15.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.6663, allocations: 9.719 kB / 0.7901 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005721/0.672, allocations: 0.9543 MB / 0.791 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/0.677, allocations: 2.866 MB / 0.7938 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.6773, allocations: 349.2 kB / 0.7941 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008189/0.6781, allocations: 467.6 kB / 0.7946 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.691, allocations: 7.67 MB / 0.8021 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.6912, allocations: 27.59 kB / 0.8021 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004977/0.6917, allocations: 207.5 kB / 0.8023 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000324/0.692, allocations: 315.7 kB / 0.8026 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008292/0.7003, allocations: 5.706 MB / 0.8082 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03437/0.7347, allocations: 35.09 MB / 0.8424 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.7374, allocations: 2.162 MB / 0.8446 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.7389, allocations: 1.262 MB / 0.8458 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.672e-05/0.739, allocations: 15.53 kB / 0.8458 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.7391, allocations: 46.91 kB / 0.8458 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 3.066e-06/0.7391, allocations: 0 / 0.8458 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.01379/0.7529, allocations: 7.09 MB / 0.8528 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.753, allocations: 72.7 kB / 0.8528 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.755, allocations: 1.48 MB / 0.8543 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.502e-05/0.7552, allocations: 45.7 kB / 0.8543 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.7566, allocations: 2.014 MB / 0.8563 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004432/0.7571, allocations: 482.9 kB / 0.8568 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005689/0.7577, allocations: 347.2 kB / 0.8571 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7578, allocations: 309.1 kB / 0.8574 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.7592, allocations: 0.9135 MB / 0.8583 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.7612, allocations: 1.584 MB / 0.8598 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/0.7648, allocations: 2.744 MB / 0.8625 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.7648, allocations: 4.656 kB / 0.8625 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006358/0.7712, allocations: 3.528 MB / 0.8659 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.7712, allocations: 20.06 kB / 0.866 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.7712, allocations: 24 kB / 0.866 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002722/0.774, allocations: 0.9038 MB / 0.8669 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.7751, allocations: 352.9 kB / 0.8672 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/0.7974, allocations: 21.21 MB / 0.8879 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/0.7997, allocations: 104 kB / 0.888 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.7998, allocations: 80 kB / 0.8881 GB, free: 10.89 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003629/0.8035, allocations: 1.619 MB / 0.8897 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/0.8039, allocations: 201.6 kB / 0.8899 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005696/0.8096, allocations: 2.991 MB / 0.8928 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.8096, allocations: 12 kB / 0.8928 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.8096, allocations: 12.94 kB / 0.8928 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.8097, allocations: 3.984 kB / 0.8928 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.823, allocations: 7.352 MB / 0.9 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.823, allocations: 4 kB / 0.9 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/0.8238, allocations: 175.6 kB / 0.9002 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/0.8264, allocations: 0.833 MB / 0.901 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.8265, allocations: 28 kB / 0.901 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02082/0.8473, allocations: 20.3 MB / 0.9208 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.8474, allocations: 9.969 kB / 0.9208 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/0.8531, allocations: 3.027 MB / 0.9238 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.8541, allocations: 458.4 kB / 0.9242 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.8544, allocations: 36.11 kB / 0.9243 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007584/0.8551, allocations: 67.92 kB / 0.9243 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/0.8555, allocations: 128.2 kB / 0.9245 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.101e-05/0.8556, allocations: 40 kB / 0.9245 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001517/0.8571, allocations: 0.9756 MB / 0.9254 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8571, allocations: 0 / 0.9254 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00306/0.8602, allocations: 0.7852 MB / 0.9262 GB, free: 2.07 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002442/0.8605, allocations: 150.1 kB / 0.9264 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0065/0.867, allocations: 4.001 MB / 0.9303 GB, free: 13.85 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.867, allocations: 0 / 0.9303 GB, free: 13.85 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004402/0.8714, allocations: 2.74 MB / 0.9329 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/0.8748, allocations: 0.6786 MB / 0.9336 GB, free: 10.32 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.8904, allocations: 9.146 MB / 0.9425 GB, free: 1.109 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003853/0.8943, allocations: 3.109 MB / 0.9456 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001638/0.8959, allocations: 457.9 kB / 0.946 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.8963, allocations: 119.4 kB / 0.9461 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of SimCode: time 1.102e-06/0.8963, allocations: 0 / 0.9461 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of Templates: time 0.06624/0.9625, allocations: 34.72 MB / 0.98 GB, free: 11.19 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)