Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008877/0.000888, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007534/0.007534, allocations: 172.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.605/1.605, allocations: 252 MB / 0.5105 GB, free: 4.648 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007178/0.0007182, allocations: 16 kB / 0.6249 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5233/0.5241, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03235/0.5565, allocations: 29.6 MB / 0.7576 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02264/0.5792, allocations: 13.47 MB / 0.7708 GB, free: 28 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004165/0.5834, allocations: 123.4 kB / 0.7709 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.5867, allocations: 0.659 MB / 0.7716 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009486/0.5962, allocations: 2.46 MB / 0.774 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005457/0.6017, allocations: 1.706 MB / 0.7756 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01388/0.6156, allocations: 10.4 MB / 0.7858 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01955/0.6352, allocations: 10.17 MB / 0.7957 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006681/0.6419, allocations: 2.572 MB / 0.7982 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006379/0.6483, allocations: 2.934 MB / 0.8011 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001868/0.6502, allocations: 244 kB / 0.8013 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004837/0.6551, allocations: 1.38 MB / 0.8027 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003653/0.6588, allocations: 1.913 MB / 0.8045 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006251/0.665, allocations: 2.376 MB / 0.8069 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.014/0.6791, allocations: 9.009 MB / 0.8157 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.6791, allocations: 4 kB / 0.8157 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.597e-06/0.6791, allocations: 0 / 0.8157 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003952/0.6795, allocations: 3.938 kB / 0.8157 GB, free: 1.844 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01412/0.6937, allocations: 4.154 MB / 0.8197 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/0.6937, allocations: 12.03 kB / 0.8197 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007487/0.7012, allocations: 0.998 MB / 0.8207 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00765/0.7089, allocations: 2.888 MB / 0.8235 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004264/0.7094, allocations: 320.8 kB / 0.8238 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/0.7114, allocations: 424 kB / 0.8242 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02107/0.7325, allocations: 6.787 MB / 0.8309 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002926/0.7328, allocations: 19.78 kB / 0.8309 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001667/0.7345, allocations: 184 kB / 0.8311 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001094/0.7356, allocations: 376 kB / 0.8314 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.7486, allocations: 5.106 MB / 0.8364 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04838/0.797, allocations: 30.77 MB / 0.8665 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.7998, allocations: 1.391 MB / 0.8678 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.8021, allocations: 1.328 MB / 0.8691 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.8023, allocations: 21.3 kB / 0.8691 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.463e-05/0.8024, allocations: 51.88 kB / 0.8692 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=130): time 3.687e-06/0.8024, allocations: 0 / 0.8692 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of matching and sorting (n=199): time 0.08925/0.8917, allocations: 22.8 MB / 0.8914 GB, free: 0.8594 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.8918, allocations: 73.41 kB / 0.8915 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003741/0.8956, allocations: 2.062 MB / 0.8935 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003448/0.8959, allocations: 57.7 kB / 0.8936 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001515/0.8975, allocations: 2.006 MB / 0.8955 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007969/0.8983, allocations: 0.6816 MB / 0.8962 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/0.8986, allocations: 182.3 kB / 0.8964 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.8987, allocations: 313 kB / 0.8967 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.9009, allocations: 1.429 MB / 0.8981 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002666/0.9036, allocations: 2.017 MB / 0.9 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005096/0.9087, allocations: 3.688 MB / 0.9036 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.9087, allocations: 4 kB / 0.9037 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.4577/1.366, allocations: 5.657 MB / 0.9092 GB, free: 160.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/1.367, allocations: 12.53 kB / 0.9092 GB, free: 160.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.896e-05/1.367, allocations: 17.61 kB / 0.9092 GB, free: 160.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007777/1.374, allocations: 2.08 MB / 0.9112 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/1.376, allocations: 384.6 kB / 0.9116 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03347/1.41, allocations: 35.54 MB / 0.9463 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/1.412, allocations: 136.4 kB / 0.9464 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/1.413, allocations: 87.2 kB / 0.9465 GB, free: 131.4 MB / 0.7169 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.003008/1.416, allocations: 1.505 MB / 0.948 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006628/1.416, allocations: 283.5 kB / 0.9483 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009742/1.426, allocations: 5.215 MB / 0.9534 GB, free: 128.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/1.426, allocations: 22.38 kB / 0.9534 GB, free: 128.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.881e-05/1.426, allocations: 16.41 kB / 0.9534 GB, free: 128.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.939e-05/1.426, allocations: 15.95 kB / 0.9534 GB, free: 128.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/1.442, allocations: 9.679 MB / 0.9629 GB, free: 122.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.442, allocations: 4 kB / 0.9629 GB, free: 122.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008221/1.443, allocations: 219.6 kB / 0.9631 GB, free: 121.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005467/1.448, allocations: 1.844 MB / 0.9649 GB, free: 120 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/1.448, allocations: 44 kB / 0.9649 GB, free: 120 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02728/1.476, allocations: 34.56 MB / 0.9987 GB, free: 83.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.476, allocations: 4 kB / 0.9987 GB, free: 83.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008384/1.484, allocations: 4.915 MB / 1.003 GB, free: 78.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.486, allocations: 0.6276 MB / 1.004 GB, free: 77.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003893/1.486, allocations: 40 kB / 1.004 GB, free: 77.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.488, allocations: 129.1 kB / 1.004 GB, free: 77.39 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006422/1.488, allocations: 193.5 kB / 1.004 GB, free: 77.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.488, allocations: 56 kB / 1.004 GB, free: 77.14 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001654/1.49, allocations: 1.374 MB / 1.006 GB, free: 75.76 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.41e-07/1.49, allocations: 0 / 1.006 GB, free: 75.76 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003739/1.494, allocations: 1.039 MB / 1.007 GB, free: 74.72 MB / 0.7169 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003374/1.494, allocations: 166.7 kB / 1.007 GB, free: 74.55 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008782/1.503, allocations: 6.266 MB / 1.013 GB, free: 68.06 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/1.503, allocations: 4 kB / 1.013 GB, free: 68.06 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005957/1.509, allocations: 4.403 MB / 1.017 GB, free: 63.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007378/1.516, allocations: 0.9144 MB / 1.018 GB, free: 62.55 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/1.531, allocations: 10.06 MB / 1.028 GB, free: 52.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004254/1.535, allocations: 3.123 MB / 1.031 GB, free: 49.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002208/1.538, allocations: 0.5199 MB / 1.032 GB, free: 48.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/1.538, allocations: 151.4 kB / 1.032 GB, free: 48.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.412e-06/1.538, allocations: 0 / 1.032 GB, free: 48.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.09017/1.628, allocations: 56.97 MB / 1.087 GB, free: 8.48 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: