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.001372/0.001372, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001452/0.001453, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.38/1.38, allocations: 222.9 MB / 241 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.002168/0.002168, allocations: 281.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002033, allocations: 99.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4773/0.4793, allocations: 86.98 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01742/0.4968, allocations: 14.76 MB / 0.7815 GB, free: 5.148 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.5113, allocations: 10.35 MB / 0.7916 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.5125, allocations: 55.62 kB / 0.7916 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004098/0.5166, allocations: 1.691 MB / 0.7933 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00487/0.5215, allocations: 1.813 MB / 0.7951 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.5234, allocations: 0.7574 MB / 0.7958 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003757/0.5272, allocations: 2.748 MB / 0.7985 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.5289, allocations: 1.415 MB / 0.7999 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.5311, allocations: 1.527 MB / 0.8014 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.5326, allocations: 1.164 MB / 0.8025 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.5328, allocations: 160 kB / 0.8027 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.5343, allocations: 0.7915 MB / 0.8034 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004918/0.5348, allocations: 0.6115 MB / 0.804 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008198/0.5356, allocations: 0.96 MB / 0.805 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.5383, allocations: 2.757 MB / 0.8077 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5384, allocations: 0 / 0.8077 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5384, allocations: 0 / 0.8077 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.523e-05/0.5384, allocations: 4 kB / 0.8077 GB, free: 10.23 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.00374/0.5421, allocations: 2.17 MB / 0.8098 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.5422, allocations: 8.031 kB / 0.8098 GB, free: 8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.5543, allocations: 2.112 MB / 0.8118 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.557, allocations: 1.295 MB / 0.8131 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.557, allocations: 90.67 kB / 0.8132 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/0.5573, allocations: 128 kB / 0.8133 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005752/0.5631, allocations: 2.67 MB / 0.8159 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.5631, allocations: 7.938 kB / 0.8159 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.5633, allocations: 55.98 kB / 0.816 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007056/0.564, allocations: 194.1 kB / 0.8162 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007694/0.5717, allocations: 2.795 MB / 0.8189 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/0.5861, allocations: 10.46 MB / 0.8291 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006847/0.593, allocations: 2.336 MB / 0.8314 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003139/0.5962, allocations: 1.276 MB / 0.8326 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-05/0.5962, allocations: 9 kB / 0.8327 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.5963, allocations: 47.55 kB / 0.8327 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 3.116e-06/0.5963, allocations: 0 / 0.8327 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.06323/0.6595, allocations: 16.5 MB / 0.8488 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.6596, allocations: 68.72 kB / 0.8489 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.6618, allocations: 1.176 MB / 0.85 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.662, allocations: 49.7 kB / 0.8501 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007044/0.6628, allocations: 0.7475 MB / 0.8508 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006866/0.6634, allocations: 0.5159 MB / 0.8513 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000675/0.6641, allocations: 287.4 kB / 0.8516 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6643, allocations: 309.1 kB / 0.8519 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003816/0.6681, allocations: 1.51 MB / 0.8533 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004899/0.673, allocations: 1.776 MB / 0.8551 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008235/0.6813, allocations: 3.369 MB / 0.8584 GB, free: 5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.6813, allocations: 0 / 0.8584 GB, free: 5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01382/0.6952, allocations: 5.276 MB / 0.8635 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.6952, allocations: 8.875 kB / 0.8635 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.6952, allocations: 4 kB / 0.8635 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007048/0.7023, allocations: 1.885 MB / 0.8654 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.7044, allocations: 419.2 kB / 0.8658 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03171/0.7361, allocations: 24.13 MB / 0.8893 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/0.739, allocations: 307.6 kB / 0.8896 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003287/0.7393, allocations: 67.97 kB / 0.8897 GB, free: 3.742 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.001118/0.7405, allocations: 463.8 kB / 0.8901 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005184/0.741, allocations: 173.9 kB / 0.8903 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/0.7552, allocations: 5.327 MB / 0.8955 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/0.7552, allocations: 7.984 kB / 0.8955 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7552, allocations: 4 kB / 0.8955 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.7564, allocations: 0.4988 MB / 0.896 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/0.7568, allocations: 24 kB / 0.896 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/0.7593, allocations: 295.5 kB / 0.8963 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004924/0.7598, allocations: 200.9 kB / 0.8965 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01636/0.7762, allocations: 5.6 MB / 0.902 GB, free: 7.062 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01213/0.7884, allocations: 5.213 MB / 0.9071 GB, free: 1.824 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003686/0.7921, allocations: 1.661 MB / 0.9087 GB, free: 164 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001265/0.7934, allocations: 0.7899 MB / 0.9095 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of Backend: time 3.3e-07/0.7934, allocations: 0 / 0.9095 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01042/0.8038, allocations: 4.224 MB / 0.9136 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of SimCode: time 0.007733/0.8116, allocations: 4.756 MB / 0.9182 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of Templates: time 0.4667/1.278, allocations: 50.17 MB / 0.9672 GB, free: 175.2 MB / 0.7169 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)