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.005282/0.005282, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001229/0.001229, allocations: 195.5 kB / 16.67 MB, free: 5.52 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.267/1.267, allocations: 222.9 MB / 240.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 292.7 kB / 290.8 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.9039/0.9039, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 107.8 kB / 0.6815 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3941, allocations: 86.97 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01682/0.411, allocations: 14.78 MB / 0.7808 GB, free: 5.094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.4254, allocations: 10.35 MB / 0.7909 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.4266, allocations: 59.62 kB / 0.791 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004266/0.4309, allocations: 1.679 MB / 0.7926 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004643/0.4355, allocations: 1.854 MB / 0.7944 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.4375, allocations: 0.7538 MB / 0.7952 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00356/0.441, allocations: 2.764 MB / 0.7979 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.443, allocations: 1.419 MB / 0.7992 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.445, allocations: 1.527 MB / 0.8007 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.4468, allocations: 1.16 MB / 0.8019 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004489/0.4473, allocations: 164 kB / 0.802 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.449, allocations: 0.7837 MB / 0.8028 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000817/0.4498, allocations: 0.6115 MB / 0.8034 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.4511, allocations: 0.9522 MB / 0.8043 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.4544, allocations: 2.768 MB / 0.807 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.4544, allocations: 0 / 0.807 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.82e-07/0.4544, allocations: 0 / 0.807 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.211e-05/0.4545, allocations: 0 / 0.807 GB, free: 10.14 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.00414/0.4586, allocations: 2.17 MB / 0.8091 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.4586, allocations: 12.03 kB / 0.8092 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.4693, allocations: 2.101 MB / 0.8112 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.4717, allocations: 1.311 MB / 0.8125 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.4718, allocations: 90.67 kB / 0.8126 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.4721, allocations: 120 kB / 0.8127 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005046/0.4771, allocations: 2.674 MB / 0.8153 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.4772, allocations: 4 kB / 0.8153 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.4773, allocations: 55.98 kB / 0.8154 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006066/0.4779, allocations: 194.1 kB / 0.8155 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00675/0.4847, allocations: 2.795 MB / 0.8183 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.498, allocations: 10.46 MB / 0.8285 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005994/0.504, allocations: 2.34 MB / 0.8308 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/0.5069, allocations: 1.275 MB / 0.832 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.049e-05/0.507, allocations: 17 kB / 0.832 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.507, allocations: 43.56 kB / 0.8321 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 2.545e-06/0.507, allocations: 0 / 0.8321 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.05492/0.562, allocations: 16.5 MB / 0.8482 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.562, allocations: 68.72 kB / 0.8482 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.5635, allocations: 1.172 MB / 0.8494 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.5636, allocations: 53.7 kB / 0.8494 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004948/0.5641, allocations: 0.7475 MB / 0.8502 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004243/0.5645, allocations: 0.5198 MB / 0.8507 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005697/0.5651, allocations: 287.4 kB / 0.851 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.5652, allocations: 305.1 kB / 0.8512 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/0.5685, allocations: 1.503 MB / 0.8527 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003401/0.5719, allocations: 1.791 MB / 0.8545 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00664/0.5786, allocations: 3.358 MB / 0.8577 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5786, allocations: 7.938 kB / 0.8577 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01259/0.5912, allocations: 5.276 MB / 0.8629 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.5912, allocations: 12 kB / 0.8629 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.5912, allocations: 4 kB / 0.8629 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006763/0.598, allocations: 1.882 MB / 0.8648 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.5998, allocations: 407.3 kB / 0.8651 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02855/0.6283, allocations: 24.13 MB / 0.8887 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.6307, allocations: 307.5 kB / 0.889 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/0.6309, allocations: 67.97 kB / 0.8891 GB, free: 3.645 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 (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.0008179/0.6318, allocations: 467.9 kB / 0.8895 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00037/0.6321, allocations: 177.9 kB / 0.8897 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/0.645, allocations: 5.316 MB / 0.8949 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.645, allocations: 16 kB / 0.8949 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-05/0.645, allocations: 20 kB / 0.8949 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.6451, allocations: 7.969 kB / 0.8949 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.6608, allocations: 7.419 MB / 0.9022 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.6608, allocations: 8.031 kB / 0.9022 GB, free: 6.047 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.6624, allocations: 355.3 kB / 0.9025 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006125/0.6685, allocations: 1.699 MB / 0.9042 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.6687, allocations: 43.97 kB / 0.9042 GB, free: 3.934 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02691/0.6957, allocations: 23.31 MB / 0.927 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.6957, allocations: 12 kB / 0.927 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.7072, allocations: 4.887 MB / 0.9318 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008762/0.7081, allocations: 494.8 kB / 0.9322 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/0.7084, allocations: 28 kB / 0.9323 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/0.7104, allocations: 315.5 kB / 0.9326 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004341/0.7109, allocations: 153 kB / 0.9327 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/0.711, allocations: 55.97 kB / 0.9328 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00108/0.7121, allocations: 0.7899 MB / 0.9335 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.164e-06/0.7121, allocations: 0 / 0.9335 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001905/0.714, allocations: 0.664 MB / 0.9342 GB, free: 4.027 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 (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.0002666/0.7143, allocations: 143.1 kB / 0.9343 GB, free: 3.879 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01042/0.7247, allocations: 5.147 MB / 0.9393 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.7248, allocations: 4 kB / 0.9393 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00647/0.7312, allocations: 3.351 MB / 0.9426 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.7339, allocations: 0.5646 MB / 0.9432 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008207/0.7422, allocations: 4.285 MB / 0.9474 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.7435, allocations: 1.561 MB / 0.9489 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001259/0.7448, allocations: 390.4 kB / 0.9493 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/0.7452, allocations: 111.4 kB / 0.9494 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.7452, allocations: 0 / 0.9494 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of Templates: time 0.3672/1.112, allocations: 45.38 MB / 0.9937 GB, free: 177.6 MB / 0.7325 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)