Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001397/0.001397, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002244/0.002244, allocations: 287.9 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9521/0.9521, allocations: 169.2 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 97.05 kB / 0.5959 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1936, allocations: 86.97 MB / 0.6808 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.3125/0.5061, allocations: 14.03 MB / 0.6945 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.5188, allocations: 9.392 MB / 0.7037 GB, free: 6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.5205, allocations: 54.66 kB / 0.7038 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004146/0.5247, allocations: 1.67 MB / 0.7054 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004581/0.5293, allocations: 1.534 MB / 0.7069 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.5314, allocations: 0.7617 MB / 0.7076 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003736/0.5352, allocations: 2.518 MB / 0.7101 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.5374, allocations: 1.41 MB / 0.7115 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.5394, allocations: 1.043 MB / 0.7125 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.5417, allocations: 1.142 MB / 0.7136 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006493/0.5424, allocations: 164.4 kB / 0.7138 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.5446, allocations: 0.7887 MB / 0.7145 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.5458, allocations: 0.6205 MB / 0.7151 GB, free: 400 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002701/0.5485, allocations: 0.9392 MB / 0.7161 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005158/0.5537, allocations: 2.732 MB / 0.7187 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.5537, allocations: 1.375 kB / 0.7187 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5538, allocations: 9.156 kB / 0.7187 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.546e-05/0.5538, allocations: 0 / 0.7187 GB, free: 14.86 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004375/0.5582, allocations: 2.131 MB / 0.7208 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5582, allocations: 9.688 kB / 0.7208 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.5701, allocations: 2.087 MB / 0.7229 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.5727, allocations: 1.203 MB / 0.724 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/0.5728, allocations: 90.61 kB / 0.7241 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.5731, allocations: 116.4 kB / 0.7242 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005968/0.5791, allocations: 2.684 MB / 0.7269 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.5791, allocations: 15.16 kB / 0.7269 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.5793, allocations: 55.17 kB / 0.7269 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006875/0.58, allocations: 178.9 kB / 0.7271 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007681/0.5877, allocations: 2.792 MB / 0.7298 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.6021, allocations: 10.51 MB / 0.7401 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00692/0.609, allocations: 2.526 MB / 0.7426 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003127/0.6122, allocations: 1.291 MB / 0.7438 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.998e-05/0.6122, allocations: 9.938 kB / 0.7438 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.6123, allocations: 44.09 kB / 0.7439 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=89): time 3.316e-06/0.6123, allocations: 0 / 0.7439 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131): time 0.0482/0.6605, allocations: 13.35 MB / 0.7569 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.6606, allocations: 68.72 kB / 0.757 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.6622, allocations: 1.117 MB / 0.7581 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.6623, allocations: 45.7 kB / 0.7581 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/0.6629, allocations: 0.7233 MB / 0.7588 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.6633, allocations: 453.5 kB / 0.7593 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005183/0.6638, allocations: 259.4 kB / 0.7595 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.664, allocations: 365.9 kB / 0.7598 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/0.6674, allocations: 1.342 MB / 0.7612 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/0.6709, allocations: 1.604 MB / 0.7627 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007013/0.678, allocations: 2.991 MB / 0.7656 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.678, allocations: 4 kB / 0.7656 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0116/0.6896, allocations: 4.43 MB / 0.77 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.6896, allocations: 12.81 kB / 0.77 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.6897, allocations: 8 kB / 0.77 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005231/0.6949, allocations: 1.454 MB / 0.7714 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002051/0.697, allocations: 436.1 kB / 0.7718 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02697/0.7239, allocations: 26.69 MB / 0.7979 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/0.7266, allocations: 303.6 kB / 0.7982 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/0.7269, allocations: 63.97 kB / 0.7982 GB, free: 4.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009017/0.7278, allocations: 442.5 kB / 0.7987 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004006/0.7282, allocations: 158.1 kB / 0.7988 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/0.7399, allocations: 4.449 MB / 0.8032 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.74, allocations: 12 kB / 0.8032 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.983e-05/0.74, allocations: 12 kB / 0.8032 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.74, allocations: 7.984 kB / 0.8032 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/0.755, allocations: 6.774 MB / 0.8098 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.7551, allocations: 4 kB / 0.8098 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.7569, allocations: 383.3 kB / 0.8102 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004724/0.7616, allocations: 1.318 MB / 0.8115 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.7618, allocations: 39.97 kB / 0.8115 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02541/0.7872, allocations: 25.5 MB / 0.8364 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7872, allocations: 192 / 0.8364 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/0.7983, allocations: 4.204 MB / 0.8405 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009728/0.7993, allocations: 459 kB / 0.8409 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003825/0.7997, allocations: 28 kB / 0.841 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/0.802, allocations: 311.5 kB / 0.8413 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003809/0.8023, allocations: 128.7 kB / 0.8414 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.8025, allocations: 51.97 kB / 0.8414 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00107/0.8036, allocations: 0.7525 MB / 0.8422 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8036, allocations: 0 / 0.8422 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002091/0.8057, allocations: 0.5703 MB / 0.8427 GB, free: 4.445 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002857/0.806, allocations: 148 kB / 0.8429 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.012/0.818, allocations: 5.513 MB / 0.8483 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.818, allocations: 0 / 0.8483 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006924/0.8249, allocations: 3.491 MB / 0.8517 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.8275, allocations: 0.5509 MB / 0.8522 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009035/0.8365, allocations: 4.152 MB / 0.8563 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.8379, allocations: 1.473 MB / 0.8577 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/0.8385, allocations: 139.3 kB / 0.8578 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of SimCode: time 1.052e-06/0.8385, allocations: 0 / 0.8578 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.3654/1.204, allocations: 112.5 MB / 0.9677 GB, free: 236.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)