Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005348/0.005348, allocations: 99.81 kB / 15.73 MB, free: 6.492 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.001358/0.001358, allocations: 203.9 kB / 16.68 MB, free: 6.375 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 275.2 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9341/0.9341, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 95.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1551, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007973/0.1631, allocations: 6.799 MB / 0.773 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3216/0.4847, allocations: 3.043 MB / 0.776 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.4853, allocations: 29.84 kB / 0.776 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.4876, allocations: 0.9459 MB / 0.7769 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.4887, allocations: 0.4979 MB / 0.7774 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009747/0.4897, allocations: 453.8 kB / 0.7779 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.4909, allocations: 1.23 MB / 0.7791 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008609/0.4918, allocations: 0.6657 MB / 0.7797 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.4923, allocations: 477.9 kB / 0.7802 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/0.4929, allocations: 0.5231 MB / 0.7807 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.493, allocations: 66.69 kB / 0.7808 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006355/0.4936, allocations: 381.9 kB / 0.7811 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.4939, allocations: 308 kB / 0.7814 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.4942, allocations: 445.6 kB / 0.7818 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.4953, allocations: 1.224 MB / 0.783 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4953, allocations: 4 kB / 0.783 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4953, allocations: 3.938 kB / 0.783 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.4953, allocations: 0.5938 kB / 0.783 GB, free: 7.777 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001685/0.497, allocations: 1.191 MB / 0.7842 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.4971, allocations: 9.531 kB / 0.7842 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.4986, allocations: 244.1 kB / 0.7844 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008317/0.4994, allocations: 0.6073 MB / 0.785 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.4995, allocations: 51.11 kB / 0.7851 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/0.4996, allocations: 60.89 kB / 0.7851 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.5009, allocations: 1.09 MB / 0.7862 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.5009, allocations: 10.8 kB / 0.7862 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/0.501, allocations: 34.69 kB / 0.7862 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.5011, allocations: 82.36 kB / 0.7863 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.5021, allocations: 0.7536 MB / 0.7871 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004064/0.5062, allocations: 5.889 MB / 0.7928 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008864/0.5071, allocations: 0.5525 MB / 0.7934 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003989/0.5075, allocations: 328.2 kB / 0.7937 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.5076, allocations: 11.06 kB / 0.7937 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.5076, allocations: 37.89 kB / 0.7937 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 1.733e-06/0.5076, allocations: 0 / 0.7937 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.003433/0.511, allocations: 1.998 MB / 0.7957 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.5111, allocations: 64.77 kB / 0.7957 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.5117, allocations: 0.5568 MB / 0.7963 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.5117, allocations: 35.14 kB / 0.7963 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.512, allocations: 431.9 kB / 0.7967 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.5121, allocations: 182 kB / 0.7969 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.5123, allocations: 125.2 kB / 0.797 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.5125, allocations: 381 kB / 0.7974 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.5129, allocations: 275.2 kB / 0.7976 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.5134, allocations: 497.7 kB / 0.7981 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009707/0.5144, allocations: 0.8055 MB / 0.7989 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5144, allocations: 2.531 kB / 0.7989 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001848/0.5162, allocations: 1.093 MB / 0.8 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5162, allocations: 6.906 kB / 0.8 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.5163, allocations: 7.766 kB / 0.8 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008456/0.5171, allocations: 276.7 kB / 0.8002 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.5176, allocations: 130.5 kB / 0.8004 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006547/0.5242, allocations: 7.132 MB / 0.8073 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000626/0.5248, allocations: 46.36 kB / 0.8074 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.5249, allocations: 28.16 kB / 0.8074 GB, free: 6.09 MB / 0.5762 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0003558/0.5252, allocations: 255.9 kB / 0.8076 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.5253, allocations: 80.34 kB / 0.8077 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.527, allocations: 0.8917 MB / 0.8086 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.527, allocations: 9.75 kB / 0.8086 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.527, allocations: 6.531 kB / 0.8086 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.527, allocations: 2.578 kB / 0.8086 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.5297, allocations: 1.72 MB / 0.8103 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.5297, allocations: 1.156 kB / 0.8103 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.53, allocations: 64.8 kB / 0.8104 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007774/0.5308, allocations: 266.9 kB / 0.8106 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.5308, allocations: 12.47 kB / 0.8106 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006346/0.5372, allocations: 7.134 MB / 0.8176 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5372, allocations: 3.016 kB / 0.8176 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.5388, allocations: 0.9938 MB / 0.8186 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.5392, allocations: 194.7 kB / 0.8187 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.5394, allocations: 13.23 kB / 0.8188 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.5398, allocations: 31.7 kB / 0.8188 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.5399, allocations: 39.94 kB / 0.8188 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.54, allocations: 20 kB / 0.8188 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004934/0.5405, allocations: 392.8 kB / 0.8192 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5405, allocations: 3.938 kB / 0.8192 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008934/0.5414, allocations: 225.7 kB / 0.8194 GB, free: 13.35 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/0.5416, allocations: 110.5 kB / 0.8195 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.5436, allocations: 1.278 MB / 0.8208 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5436, allocations: 1.375 kB / 0.8208 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.5448, allocations: 0.8902 MB / 0.8217 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.546, allocations: 213.1 kB / 0.8219 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.5488, allocations: 1.38 MB / 0.8232 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008152/0.5496, allocations: 1.01 MB / 0.8242 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000471/0.5501, allocations: 118.2 kB / 0.8243 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.5503, allocations: 42.66 kB / 0.8244 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of SimCode: time 7.52e-07/0.5503, allocations: 0 / 0.8244 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of Templates: time 0.01973/0.57, allocations: 11.34 MB / 0.8354 GB, free: 5.312 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)