Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001094/0.001094, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 279.1 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9535/0.9535, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 93.28 kB / 0.5947 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1735, allocations: 86.99 MB / 0.6796 GB, free: 1.02 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01591/0.1895, allocations: 14.67 MB / 0.694 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.2031, allocations: 10.25 MB / 0.704 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.2046, allocations: 55.62 kB / 0.704 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004016/0.2087, allocations: 1.576 MB / 0.7056 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005052/0.2137, allocations: 1.624 MB / 0.7072 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.2157, allocations: 0.6933 MB / 0.7078 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003697/0.2195, allocations: 2.754 MB / 0.7105 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.2215, allocations: 1.582 MB / 0.7121 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.2233, allocations: 1.531 MB / 0.7136 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.2247, allocations: 1.195 MB / 0.7147 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.2249, allocations: 164 kB / 0.7149 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.2262, allocations: 0.7916 MB / 0.7157 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000494/0.2267, allocations: 0.6037 MB / 0.7162 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007955/0.2275, allocations: 0.9523 MB / 0.7172 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.23, allocations: 2.788 MB / 0.7199 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.23, allocations: 0 / 0.7199 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.933e-06/0.23, allocations: 0 / 0.7199 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.56e-05/0.23, allocations: 0 / 0.7199 GB, free: 7.652 MB / 0.5137 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.003554/0.2336, allocations: 2.182 MB / 0.722 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2336, allocations: 12.62 kB / 0.722 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.2451, allocations: 2.097 MB / 0.7241 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.2476, allocations: 1.213 MB / 0.7253 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.48e-05/0.2477, allocations: 90.69 kB / 0.7254 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.248, allocations: 116.1 kB / 0.7255 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006109/0.2541, allocations: 2.676 MB / 0.7281 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.435e-05/0.2542, allocations: 11.84 kB / 0.7281 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.2544, allocations: 55.98 kB / 0.7281 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006514/0.2551, allocations: 190.1 kB / 0.7283 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00758/0.2627, allocations: 2.791 MB / 0.7311 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.2774, allocations: 10.51 MB / 0.7413 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006416/0.2839, allocations: 2.336 MB / 0.7436 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002978/0.2869, allocations: 1.274 MB / 0.7448 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.312e-05/0.287, allocations: 13 kB / 0.7449 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.287, allocations: 43.56 kB / 0.7449 GB, free: 13.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 3.587e-06/0.287, allocations: 3.984 kB / 0.7449 GB, free: 13.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=153): time 0.05729/0.3443, allocations: 16.49 MB / 0.761 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.3444, allocations: 72.7 kB / 0.7611 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.3463, allocations: 1.168 MB / 0.7622 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002411/0.3465, allocations: 53.7 kB / 0.7623 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005598/0.3471, allocations: 0.7398 MB / 0.763 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005649/0.3477, allocations: 0.5237 MB / 0.7635 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006707/0.3484, allocations: 287.5 kB / 0.7638 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3485, allocations: 305.1 kB / 0.7641 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/0.3519, allocations: 1.507 MB / 0.7655 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003571/0.3554, allocations: 1.776 MB / 0.7673 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006909/0.3624, allocations: 3.369 MB / 0.7706 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.3624, allocations: 8 kB / 0.7706 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.274/0.6364, allocations: 5.277 MB / 0.7757 GB, free: 90.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.6365, allocations: 7.281 kB / 0.7757 GB, free: 90.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.6365, allocations: 8.188 kB / 0.7757 GB, free: 90.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006972/0.6435, allocations: 1.893 MB / 0.7776 GB, free: 89.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.6455, allocations: 415.7 kB / 0.778 GB, free: 89.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02638/0.6719, allocations: 24.15 MB / 0.8016 GB, free: 73.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/0.6745, allocations: 310.2 kB / 0.8019 GB, free: 73.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/0.6748, allocations: 69.66 kB / 0.8019 GB, free: 73.28 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008865/0.6757, allocations: 466.1 kB / 0.8024 GB, free: 72.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004333/0.6761, allocations: 175.7 kB / 0.8025 GB, free: 72.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.6896, allocations: 5.322 MB / 0.8077 GB, free: 71.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.6896, allocations: 14.44 kB / 0.8077 GB, free: 71.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.747e-05/0.6897, allocations: 23.22 kB / 0.8078 GB, free: 71.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.6897, allocations: 7.969 kB / 0.8078 GB, free: 71.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.7051, allocations: 7.41 MB / 0.815 GB, free: 66.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.7052, allocations: 2.781 kB / 0.815 GB, free: 66.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.7067, allocations: 357 kB / 0.8154 GB, free: 66.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005521/0.7122, allocations: 1.726 MB / 0.817 GB, free: 65.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.7124, allocations: 43.78 kB / 0.8171 GB, free: 65.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/0.7341, allocations: 23.32 MB / 0.8399 GB, free: 45.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7342, allocations: 7.938 kB / 0.8399 GB, free: 45.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/0.7449, allocations: 4.885 MB / 0.8446 GB, free: 40.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000852/0.7458, allocations: 494.8 kB / 0.8451 GB, free: 40.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/0.7462, allocations: 33.77 kB / 0.8451 GB, free: 39.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/0.7483, allocations: 319.5 kB / 0.8454 GB, free: 39.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004697/0.7488, allocations: 149 kB / 0.8456 GB, free: 39.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.749, allocations: 55.97 kB / 0.8456 GB, free: 39.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009461/0.7499, allocations: 0.7899 MB / 0.8464 GB, free: 38.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7499, allocations: 0 / 0.8464 GB, free: 38.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002022/0.752, allocations: 0.6523 MB / 0.847 GB, free: 38.02 MB / 0.5606 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002949/0.7523, allocations: 151.4 kB / 0.8472 GB, free: 37.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01009/0.7624, allocations: 5.427 MB / 0.8525 GB, free: 32.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7624, allocations: 0 / 0.8525 GB, free: 32.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005848/0.7682, allocations: 3.358 MB / 0.8558 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.7706, allocations: 0.5658 MB / 0.8563 GB, free: 28.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007778/0.7784, allocations: 5.004 MB / 0.8612 GB, free: 23.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009794/0.7794, allocations: 1.568 MB / 0.8627 GB, free: 21.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001558/0.781, allocations: 387.4 kB / 0.8631 GB, free: 21.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/0.7814, allocations: 103.4 kB / 0.8632 GB, free: 21.29 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.7814, allocations: 0 / 0.8632 GB, free: 21.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.06202/0.8434, allocations: 45.09 MB / 0.9072 GB, free: 8.77 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)