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.001551/0.001552, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001764/0.001764, allocations: 187 kB / 17.34 MB, free: 5.719 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002335/0.002335, allocations: 287 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9509/0.9509, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3972, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01642/0.4136, allocations: 14.05 MB / 0.7808 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.4276, allocations: 9.388 MB / 0.7899 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.4293, allocations: 55.62 kB / 0.79 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.4337, allocations: 1.672 MB / 0.7916 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0043/0.4381, allocations: 1.576 MB / 0.7932 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.4401, allocations: 0.7581 MB / 0.7939 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00335/0.4435, allocations: 2.526 MB / 0.7964 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/0.4455, allocations: 1.411 MB / 0.7977 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.4473, allocations: 1.078 MB / 0.7988 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.4493, allocations: 1.136 MB / 0.7999 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004479/0.4498, allocations: 164 kB / 0.8001 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.4514, allocations: 0.7916 MB / 0.8008 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007655/0.4522, allocations: 0.6115 MB / 0.8014 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.4536, allocations: 0.9484 MB / 0.8024 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003516/0.4571, allocations: 2.755 MB / 0.805 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4572, allocations: 8 kB / 0.8051 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4572, allocations: 0 / 0.8051 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.333e-05/0.4573, allocations: 0 / 0.8051 GB, free: 12.85 MB / 0.5762 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.004913/0.4622, allocations: 2.135 MB / 0.8071 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.4622, allocations: 8.031 kB / 0.8071 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.4745, allocations: 2.077 MB / 0.8092 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.4776, allocations: 1.298 MB / 0.8104 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.4776, allocations: 86.73 kB / 0.8105 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/0.4779, allocations: 124.1 kB / 0.8106 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005976/0.4839, allocations: 2.679 MB / 0.8133 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/0.484, allocations: 7.938 kB / 0.8133 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.4842, allocations: 55.98 kB / 0.8133 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006657/0.4848, allocations: 178.1 kB / 0.8135 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007989/0.4928, allocations: 2.799 MB / 0.8162 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.5076, allocations: 10.47 MB / 0.8264 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007121/0.5148, allocations: 2.52 MB / 0.8289 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/0.5181, allocations: 1.294 MB / 0.8302 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-05/0.5182, allocations: 13 kB / 0.8302 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.5182, allocations: 39.56 kB / 0.8302 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 2.795e-06/0.5182, allocations: 0 / 0.8302 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.04871/0.5669, allocations: 13.35 MB / 0.8433 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.567, allocations: 68.66 kB / 0.8433 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.5687, allocations: 1.113 MB / 0.8444 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.5688, allocations: 53.7 kB / 0.8445 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005647/0.5694, allocations: 0.7155 MB / 0.8452 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004596/0.5699, allocations: 457.4 kB / 0.8456 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/0.5704, allocations: 259.4 kB / 0.8459 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5705, allocations: 365.9 kB / 0.8462 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003504/0.5741, allocations: 1.339 MB / 0.8475 GB, free: 168 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/0.5778, allocations: 1.604 MB / 0.8491 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007221/0.585, allocations: 2.991 MB / 0.852 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.5851, allocations: 0 / 0.852 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0123/0.5974, allocations: 4.446 MB / 0.8563 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.5974, allocations: 8 kB / 0.8563 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.5975, allocations: 8 kB / 0.8564 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005445/0.6029, allocations: 1.432 MB / 0.8577 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/0.6052, allocations: 439.2 kB / 0.8582 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02779/0.633, allocations: 26.69 MB / 0.8842 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/0.6358, allocations: 299.5 kB / 0.8845 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.636, allocations: 63.91 kB / 0.8846 GB, free: 8.082 MB / 0.6544 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.0008694/0.6369, allocations: 440 kB / 0.885 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/0.6372, allocations: 162.1 kB / 0.8851 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/0.6493, allocations: 4.457 MB / 0.8895 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.6493, allocations: 16 kB / 0.8895 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.22e-05/0.6494, allocations: 15.94 kB / 0.8895 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.6494, allocations: 7.922 kB / 0.8895 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.6647, allocations: 6.756 MB / 0.8961 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.6648, allocations: 0 / 0.8961 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/0.6668, allocations: 387.6 kB / 0.8965 GB, free: 11.63 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004845/0.6716, allocations: 1.298 MB / 0.8978 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.6718, allocations: 47.91 kB / 0.8978 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02539/0.6972, allocations: 25.49 MB / 0.9227 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6973, allocations: 4 kB / 0.9227 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.7085, allocations: 4.21 MB / 0.9268 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009269/0.7095, allocations: 455 kB / 0.9273 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.7097, allocations: 24 kB / 0.9273 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/0.7119, allocations: 307.5 kB / 0.9276 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004185/0.7123, allocations: 128.7 kB / 0.9277 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.7125, allocations: 47.97 kB / 0.9277 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001018/0.7135, allocations: 0.7487 MB / 0.9285 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7135, allocations: 7.938 kB / 0.9285 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001868/0.7154, allocations: 0.5703 MB / 0.929 GB, free: 8.324 MB / 0.7012 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.0002833/0.7157, allocations: 135.2 kB / 0.9292 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01146/0.7271, allocations: 5.146 MB / 0.9342 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.7272, allocations: 0 / 0.9342 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00732/0.7345, allocations: 3.491 MB / 0.9376 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.7372, allocations: 0.5609 MB / 0.9382 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009628/0.7468, allocations: 4.104 MB / 0.9422 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.7481, allocations: 1.473 MB / 0.9436 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006088/0.7487, allocations: 139.3 kB / 0.9437 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/0.7487, allocations: 0 / 0.9437 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of Templates: time 0.4258/1.175, allocations: 112.6 MB / 1.054 GB, free: 114.4 MB / 0.7325 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)