Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.0007613/0.0007612, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005012/0.005013, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001665/0.001665, allocations: 266.7 kB / 291.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9368/0.9368, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003965, allocations: 12.62 kB / 0.5987 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.168, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03436/0.2024, allocations: 33.96 MB / 0.7183 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.2185, allocations: 9.821 MB / 0.7279 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003592/0.2221, allocations: 123.3 kB / 0.728 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.2247, allocations: 0.7016 MB / 0.7287 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005955/0.2307, allocations: 1.921 MB / 0.7306 GB, free: 420 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.2356, allocations: 1.609 MB / 0.7322 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01207/0.2477, allocations: 11.19 MB / 0.7431 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01852/0.2662, allocations: 12.16 MB / 0.755 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004704/0.271, allocations: 2.412 MB / 0.7573 GB, free: 4.906 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006099/0.2771, allocations: 3.211 MB / 0.7604 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.2782, allocations: 280 kB / 0.7607 GB, free: 1.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.2815, allocations: 1.267 MB / 0.7619 GB, free: 144 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.3194/0.6009, allocations: 2.096 MB / 0.764 GB, free: 27.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006125/0.6071, allocations: 2.531 MB / 0.7665 GB, free: 26.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.62, allocations: 9.863 MB / 0.7761 GB, free: 25.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6201, allocations: 0 / 0.7761 GB, free: 25.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6201, allocations: 0.6875 kB / 0.7761 GB, free: 25.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000313/0.6204, allocations: 3.5 kB / 0.7761 GB, free: 25.92 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01091/0.6313, allocations: 4.358 MB / 0.7804 GB, free: 24.01 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.6314, allocations: 11.19 kB / 0.7804 GB, free: 24.01 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005853/0.6372, allocations: 0.959 MB / 0.7813 GB, free: 23.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005761/0.643, allocations: 2.993 MB / 0.7842 GB, free: 23.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.6433, allocations: 356.1 kB / 0.7846 GB, free: 23.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/0.6447, allocations: 475.1 kB / 0.785 GB, free: 23.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.6613, allocations: 7.904 MB / 0.7927 GB, free: 22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.6615, allocations: 23.56 kB / 0.7928 GB, free: 22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005567/0.662, allocations: 209.3 kB / 0.793 GB, free: 22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004978/0.6626, allocations: 365.3 kB / 0.7933 GB, free: 21.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.6753, allocations: 5.935 MB / 0.7991 GB, free: 21.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03564/0.7109, allocations: 36.28 MB / 0.8345 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/0.714, allocations: 2.13 MB / 0.8366 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.7158, allocations: 1.482 MB / 0.8381 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.48e-05/0.7159, allocations: 17.06 kB / 0.8381 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.7159, allocations: 59.78 kB / 0.8381 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.767e-06/0.716, allocations: 0 / 0.8381 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01363/0.7296, allocations: 7.578 MB / 0.8455 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.7297, allocations: 68.59 kB / 0.8456 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.7322, allocations: 1.862 MB / 0.8474 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.7323, allocations: 54.14 kB / 0.8475 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/0.734, allocations: 2.125 MB / 0.8495 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004755/0.7344, allocations: 0.5591 MB / 0.8501 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.7347, allocations: 175.1 kB / 0.8503 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.7348, allocations: 301.1 kB / 0.8505 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.7363, allocations: 1.069 MB / 0.8516 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.7384, allocations: 1.755 MB / 0.8533 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004191/0.7426, allocations: 3.047 MB / 0.8563 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.7426, allocations: 8 kB / 0.8563 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006721/0.7493, allocations: 3.925 MB / 0.8601 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.7494, allocations: 16 kB / 0.8601 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.7494, allocations: 20.94 kB / 0.8602 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002508/0.7519, allocations: 0.93 MB / 0.8611 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.7534, allocations: 435.9 kB / 0.8615 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.7736, allocations: 21.08 MB / 0.8821 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.776, allocations: 119.9 kB / 0.8822 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/0.7762, allocations: 99.94 kB / 0.8823 GB, free: 10.43 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003439/0.7796, allocations: 1.647 MB / 0.8839 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/0.7801, allocations: 257.1 kB / 0.8841 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00563/0.7857, allocations: 3.265 MB / 0.8873 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.7858, allocations: 16 kB / 0.8873 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.7858, allocations: 8 kB / 0.8873 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.7858, allocations: 17.59 kB / 0.8874 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.7981, allocations: 7.557 MB / 0.8947 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.7981, allocations: 4 kB / 0.8947 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009404/0.7991, allocations: 215.2 kB / 0.8949 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/0.8015, allocations: 0.8884 MB / 0.8958 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.8016, allocations: 32 kB / 0.8958 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/0.8207, allocations: 21.04 MB / 0.9164 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.8207, allocations: 11.81 kB / 0.9164 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005817/0.8266, allocations: 3.378 MB / 0.9197 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.8279, allocations: 0.5369 MB / 0.9202 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.8282, allocations: 32 kB / 0.9203 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.8293, allocations: 92.03 kB / 0.9203 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003857/0.8297, allocations: 148 kB / 0.9205 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.8298, allocations: 44 kB / 0.9205 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001742/0.8315, allocations: 1.229 MB / 0.9217 GB, free: 376 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8315, allocations: 0 / 0.9217 GB, free: 376 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002951/0.8345, allocations: 0.9063 MB / 0.9226 GB, free: 15.46 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.0002674/0.8348, allocations: 158.2 kB / 0.9228 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006459/0.8412, allocations: 4.42 MB / 0.9271 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/0.8413, allocations: 8 kB / 0.9271 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004146/0.8454, allocations: 2.998 MB / 0.93 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005177/0.8506, allocations: 0.7728 MB / 0.9308 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.865, allocations: 9.701 MB / 0.9402 GB, free: 13.16 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003375/0.8684, allocations: 3.209 MB / 0.9434 GB, free: 9.918 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001971/0.8704, allocations: 0.5254 MB / 0.9439 GB, free: 9.387 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.8708, allocations: 143.4 kB / 0.944 GB, free: 9.246 MB / 0.67 GB Notification: Performance of SimCode: time 1.372e-06/0.8708, allocations: 4 kB / 0.944 GB, free: 9.242 MB / 0.67 GB Notification: Performance of Templates: time 0.0916/0.9624, allocations: 40.9 MB / 0.984 GB, free: 1.043 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)