Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001093/0.001093, allocations: 199 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 292.2 MB / 0.5485 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 74.3 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2735, allocations: 114.6 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04325/0.3168, allocations: 37.46 MB / 0.8194 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.3373, allocations: 10.98 MB / 0.8302 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005778/0.3431, allocations: 139.2 kB / 0.8303 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01191/0.3551, allocations: 4.096 MB / 0.8343 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008268/0.3634, allocations: 2.041 MB / 0.8363 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007002/0.3704, allocations: 1.976 MB / 0.8382 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01389/0.3843, allocations: 9.296 MB / 0.8473 GB, free: 11.68 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02574/0.4101, allocations: 13.56 MB / 0.8605 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008084/0.4183, allocations: 4.05 MB / 0.8645 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008616/0.4269, allocations: 4.724 MB / 0.8691 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003639/0.4306, allocations: 0.8242 MB / 0.8699 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006157/0.4368, allocations: 1.58 MB / 0.8715 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.006646/0.4435, allocations: 3.15 MB / 0.8745 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.009421/0.4529, allocations: 3.653 MB / 0.8781 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01898/0.4719, allocations: 12.31 MB / 0.8901 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.472, allocations: 0 / 0.8901 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.106e-06/0.472, allocations: 0 / 0.8901 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005015/0.4725, allocations: 0 / 0.8901 GB, free: 15.63 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02161/0.4942, allocations: 6.314 MB / 0.8963 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4942, allocations: 8.031 kB / 0.8963 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007245/0.5015, allocations: 1.063 MB / 0.8973 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008204/0.5097, allocations: 3.427 MB / 0.9007 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004919/0.5102, allocations: 427.7 kB / 0.9011 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002418/0.5127, allocations: 0.5393 MB / 0.9016 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02345/0.5361, allocations: 9.381 MB / 0.9108 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.5363, allocations: 15.88 kB / 0.9108 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008823/0.5372, allocations: 248 kB / 0.911 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005745/0.5378, allocations: 422.9 kB / 0.9114 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01599/0.5538, allocations: 7.127 MB / 0.9184 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6564/1.21, allocations: 41.32 MB / 0.9588 GB, free: 91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005732/1.216, allocations: 3.103 MB / 0.9618 GB, free: 89.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003706/1.22, allocations: 2.139 MB / 0.9639 GB, free: 88.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/1.22, allocations: 22.38 kB / 0.9639 GB, free: 88.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.098e-05/1.22, allocations: 65.7 kB / 0.964 GB, free: 88.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 5.019e-06/1.22, allocations: 0 / 0.964 GB, free: 88.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.02545/1.245, allocations: 10.56 MB / 0.9743 GB, free: 83.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/1.246, allocations: 73.78 kB / 0.9743 GB, free: 83.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/1.249, allocations: 2.006 MB / 0.9763 GB, free: 82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004043/1.249, allocations: 68.11 kB / 0.9764 GB, free: 81.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001613/1.251, allocations: 2.402 MB / 0.9787 GB, free: 79.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00076/1.252, allocations: 0.7319 MB / 0.9794 GB, free: 79.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000817/1.253, allocations: 480.4 kB / 0.9799 GB, free: 78.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.977e-05/1.253, allocations: 306.3 kB / 0.9802 GB, free: 78.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/1.254, allocations: 1.377 MB / 0.9815 GB, free: 77.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/1.256, allocations: 2.104 MB / 0.9836 GB, free: 76.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/1.26, allocations: 3.764 MB / 0.9872 GB, free: 73.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/1.26, allocations: 7.906 kB / 0.9873 GB, free: 73.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007528/1.268, allocations: 5.075 MB / 0.9922 GB, free: 71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/1.268, allocations: 14.81 kB / 0.9922 GB, free: 71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/1.268, allocations: 22 kB / 0.9922 GB, free: 71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/1.271, allocations: 1.598 MB / 0.9938 GB, free: 70.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.273, allocations: 451.2 kB / 0.9942 GB, free: 70.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/1.29, allocations: 18.59 MB / 1.012 GB, free: 53.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/1.293, allocations: 144 kB / 1.013 GB, free: 52.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002904/1.293, allocations: 108 kB / 1.013 GB, free: 52.84 MB / 0.7325 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003458/1.297, allocations: 1.949 MB / 1.015 GB, free: 50.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007262/1.297, allocations: 292.6 kB / 1.015 GB, free: 50.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005909/1.303, allocations: 4.447 MB / 1.019 GB, free: 46.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/1.303, allocations: 24 kB / 1.019 GB, free: 46.08 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/1.303, allocations: 16 kB / 1.019 GB, free: 46.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/1.303, allocations: 15.95 kB / 1.019 GB, free: 46.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/1.317, allocations: 9.65 MB / 1.029 GB, free: 36.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.317, allocations: 11.94 kB / 1.029 GB, free: 36.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008918/1.318, allocations: 235.6 kB / 1.029 GB, free: 36.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/1.321, allocations: 1.443 MB / 1.03 GB, free: 34.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/1.321, allocations: 40 kB / 1.03 GB, free: 34.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0172/1.339, allocations: 18.58 MB / 1.048 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.339, allocations: 4 kB / 1.048 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006327/1.345, allocations: 4.54 MB / 1.053 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/1.347, allocations: 0.6381 MB / 1.054 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004172/1.347, allocations: 47.98 kB / 1.054 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.349, allocations: 115.9 kB / 1.054 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006168/1.349, allocations: 173.6 kB / 1.054 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.349, allocations: 67.92 kB / 1.054 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001576/1.351, allocations: 1.311 MB / 1.055 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.351, allocations: 4 kB / 1.055 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003507/1.355, allocations: 1.145 MB / 1.056 GB, free: 7.273 MB / 0.7325 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003314/1.355, allocations: 163 kB / 1.056 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008549/1.363, allocations: 5.898 MB / 1.062 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.363, allocations: 10.3 kB / 1.062 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004318/1.368, allocations: 2.922 MB / 1.065 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004279/1.372, allocations: 0.8917 MB / 1.066 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/1.391, allocations: 11.77 MB / 1.077 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004535/1.395, allocations: 3.701 MB / 1.081 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002251/1.398, allocations: 0.5479 MB / 1.082 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/1.398, allocations: 151.4 kB / 1.082 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of SimCode: time 7.51e-07/1.398, allocations: 4 kB / 1.082 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of Templates: time 0.0924/1.49, allocations: 53.09 MB / 1.134 GB, free: 8.715 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)