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.001492/0.001492, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001457/0.001457, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.415/1.415, allocations: 222.9 MB / 241.1 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.002571/0.002571, allocations: 285.2 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 1.003/1.003, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002814/0.002814, allocations: 95.83 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.454, allocations: 86.97 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02454/0.4785, allocations: 14.06 MB / 0.7808 GB, free: 5.836 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02105/0.4996, allocations: 9.407 MB / 0.79 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.5015, allocations: 59.62 kB / 0.79 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006193/0.5077, allocations: 1.678 MB / 0.7917 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00544/0.5131, allocations: 1.581 MB / 0.7932 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.5155, allocations: 0.7558 MB / 0.794 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004255/0.5197, allocations: 2.52 MB / 0.7964 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.5216, allocations: 1.126 MB / 0.7975 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.5234, allocations: 1.078 MB / 0.7986 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.5252, allocations: 1.14 MB / 0.7997 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.5255, allocations: 168 kB / 0.7998 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.527, allocations: 0.7916 MB / 0.8006 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006649/0.5277, allocations: 0.6309 MB / 0.8012 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.5288, allocations: 0.9447 MB / 0.8022 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.5323, allocations: 2.765 MB / 0.8049 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5323, allocations: 0 / 0.8049 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5323, allocations: 3.938 kB / 0.8049 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.631e-05/0.5323, allocations: 3.938 kB / 0.8049 GB, free: 13.09 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.004648/0.537, allocations: 2.191 MB / 0.807 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.537, allocations: 12.03 kB / 0.807 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.5494, allocations: 2.09 MB / 0.8091 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.5527, allocations: 1.299 MB / 0.8103 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.319e-05/0.5528, allocations: 86.73 kB / 0.8104 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.5531, allocations: 124.1 kB / 0.8105 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006357/0.5595, allocations: 2.686 MB / 0.8131 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/0.5595, allocations: 7.938 kB / 0.8132 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.5597, allocations: 55.98 kB / 0.8132 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007339/0.5604, allocations: 178.1 kB / 0.8134 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008295/0.5687, allocations: 2.795 MB / 0.8161 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.5855, allocations: 10.49 MB / 0.8264 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007366/0.5929, allocations: 2.444 MB / 0.8287 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003369/0.5962, allocations: 1.208 MB / 0.8299 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.45e-05/0.5963, allocations: 9 kB / 0.8299 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.5963, allocations: 47.56 kB / 0.83 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 2.404e-06/0.5963, allocations: 0 / 0.83 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.05116/0.6475, allocations: 13.34 MB / 0.843 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.6475, allocations: 68.66 kB / 0.8431 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.6493, allocations: 1.113 MB / 0.8442 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.6495, allocations: 53.7 kB / 0.8442 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/0.6501, allocations: 0.7287 MB / 0.8449 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005091/0.6506, allocations: 475.9 kB / 0.8454 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005245/0.6511, allocations: 259.5 kB / 0.8456 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.6513, allocations: 361.9 kB / 0.846 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003586/0.6549, allocations: 1.343 MB / 0.8473 GB, free: 460 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003816/0.6587, allocations: 1.604 MB / 0.8488 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007368/0.6661, allocations: 2.991 MB / 0.8518 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.6661, allocations: 0 / 0.8518 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01228/0.6784, allocations: 4.408 MB / 0.8561 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.6784, allocations: 8 kB / 0.8561 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.6784, allocations: 4 kB / 0.8561 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005604/0.684, allocations: 1.427 MB / 0.8575 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/0.6862, allocations: 451.1 kB / 0.8579 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03004/0.7163, allocations: 26.69 MB / 0.884 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.7189, allocations: 307.6 kB / 0.8843 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.7191, allocations: 67.91 kB / 0.8843 GB, free: 8.395 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.0008805/0.72, allocations: 435.9 kB / 0.8847 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.7203, allocations: 167 kB / 0.8849 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.7324, allocations: 4.41 MB / 0.8892 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.7324, allocations: 15.94 kB / 0.8892 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/0.7324, allocations: 12 kB / 0.8892 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.7324, allocations: 3.984 kB / 0.8892 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.7482, allocations: 6.721 MB / 0.8958 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.7482, allocations: 4 kB / 0.8958 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/0.7501, allocations: 379.3 kB / 0.8962 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004894/0.7549, allocations: 1.31 MB / 0.8974 GB, free: 10.69 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.7551, allocations: 39.97 kB / 0.8975 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02785/0.7829, allocations: 25.51 MB / 0.9224 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7829, allocations: 4 kB / 0.9224 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/0.7943, allocations: 4.171 MB / 0.9265 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.7955, allocations: 467.8 kB / 0.9269 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/0.7957, allocations: 24.47 kB / 0.9269 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/0.7979, allocations: 307.5 kB / 0.9272 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004224/0.7983, allocations: 128.7 kB / 0.9274 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.7984, allocations: 43.97 kB / 0.9274 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001086/0.7995, allocations: 0.7642 MB / 0.9281 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7995, allocations: 3.938 kB / 0.9281 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001922/0.8014, allocations: 0.5664 MB / 0.9287 GB, free: 8.734 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.0002892/0.8017, allocations: 135.2 kB / 0.9288 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01143/0.8131, allocations: 4.97 MB / 0.9337 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.8131, allocations: 4 kB / 0.9337 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007323/0.8205, allocations: 3.425 MB / 0.937 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/0.8229, allocations: 0.5486 MB / 0.9376 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00863/0.8316, allocations: 4.038 MB / 0.9415 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.8328, allocations: 1.481 MB / 0.943 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001509/0.8343, allocations: 421.6 kB / 0.9434 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.8347, allocations: 111.4 kB / 0.9435 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/0.8347, allocations: 0 / 0.9435 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of Templates: time 0.4437/1.278, allocations: 39.59 MB / 0.9821 GB, free: 180.7 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)