Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008413/0.0008413, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.000843/0.0008431, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.62/1.62, allocations: 252 MB / 0.5102 GB, free: 4.789 MB / 414.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.0005669/0.000567, allocations: 12 kB / 0.6243 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6325/0.6331, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01409/0.6472, allocations: 12.57 MB / 0.7404 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.6623, allocations: 8.845 MB / 0.749 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.6648, allocations: 51.62 kB / 0.7491 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.6659, allocations: 265.8 kB / 0.7493 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005738/0.6716, allocations: 1.271 MB / 0.7506 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.6738, allocations: 0.5168 MB / 0.7511 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004712/0.6785, allocations: 2.676 MB / 0.7537 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004236/0.6828, allocations: 1.8 MB / 0.7555 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.685, allocations: 0.8403 MB / 0.7563 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/0.6875, allocations: 1.031 MB / 0.7573 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003063/0.6878, allocations: 72 kB / 0.7574 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.6893, allocations: 439.4 kB / 0.7578 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005354/0.6899, allocations: 0.5023 MB / 0.7583 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006237/0.6905, allocations: 344.8 kB / 0.7586 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.6929, allocations: 2.111 MB / 0.7607 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.6929, allocations: 4 kB / 0.7607 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6929, allocations: 0 / 0.7607 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.979e-05/0.693, allocations: 0 / 0.7607 GB, free: 9.957 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.003829/0.6968, allocations: 1.831 MB / 0.7625 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.6969, allocations: 12.03 kB / 0.7625 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009734/0.7066, allocations: 2.158 MB / 0.7646 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/0.7094, allocations: 1.157 MB / 0.7657 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.881e-05/0.7095, allocations: 86.36 kB / 0.7658 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.7097, allocations: 120 kB / 0.7659 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005218/0.715, allocations: 2.69 MB / 0.7685 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.715, allocations: 11.94 kB / 0.7685 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.7152, allocations: 55.98 kB / 0.7686 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005211/0.7157, allocations: 182.1 kB / 0.7688 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006518/0.7222, allocations: 2.834 MB / 0.7715 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/0.7372, allocations: 10.57 MB / 0.7819 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005811/0.743, allocations: 2.564 MB / 0.7844 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.7458, allocations: 1.307 MB / 0.7856 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-05/0.7459, allocations: 9 kB / 0.7856 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.746, allocations: 43.56 kB / 0.7857 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 2.565e-06/0.746, allocations: 0 / 0.7857 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131): time 0.03928/0.7853, allocations: 13.44 MB / 0.7988 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.7854, allocations: 68.72 kB / 0.7989 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.787, allocations: 1.101 MB / 0.8 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.7872, allocations: 45.7 kB / 0.8 GB, free: 484 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005546/0.7877, allocations: 0.7194 MB / 0.8007 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004396/0.7882, allocations: 449.5 kB / 0.8011 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.7883, allocations: 24 kB / 0.8012 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.7885, allocations: 369.9 kB / 0.8015 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/0.7913, allocations: 1.354 MB / 0.8028 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/0.7943, allocations: 1.616 MB / 0.8044 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.7974, allocations: 1.458 MB / 0.8058 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.7975, allocations: 3.938 kB / 0.8058 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01002/0.8075, allocations: 4.462 MB / 0.8102 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.462e-05/0.8076, allocations: 11.95 kB / 0.8102 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.8076, allocations: 11.98 kB / 0.8102 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004959/0.8126, allocations: 1.431 MB / 0.8116 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.8147, allocations: 439.2 kB / 0.812 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02883/0.8436, allocations: 24.52 MB / 0.836 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/0.8462, allocations: 315.5 kB / 0.8363 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000346/0.8466, allocations: 59.97 kB / 0.8363 GB, free: 9.301 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001162/0.8477, allocations: 443.5 kB / 0.8368 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005199/0.8483, allocations: 162.1 kB / 0.8369 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/0.8594, allocations: 4.477 MB / 0.8413 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.8595, allocations: 12 kB / 0.8413 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.726e-05/0.8596, allocations: 12 kB / 0.8413 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.88e-05/0.8596, allocations: 11.97 kB / 0.8413 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.8755, allocations: 6.81 MB / 0.848 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.8756, allocations: 7.984 kB / 0.848 GB, free: 13.15 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.8773, allocations: 391.7 kB / 0.8484 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004576/0.8819, allocations: 1.314 MB / 0.8496 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/0.8822, allocations: 39.95 kB / 0.8497 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02481/0.907, allocations: 23.5 MB / 0.8726 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.907, allocations: 3.953 kB / 0.8726 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/0.9175, allocations: 4.228 MB / 0.8768 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.9189, allocations: 459.1 kB / 0.8772 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004894/0.9194, allocations: 31.89 kB / 0.8772 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/0.9216, allocations: 319.5 kB / 0.8775 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005567/0.9222, allocations: 120.8 kB / 0.8776 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/0.9224, allocations: 51.97 kB / 0.8777 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001341/0.9237, allocations: 0.737 MB / 0.8784 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9238, allocations: 0 / 0.8784 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002797/0.9266, allocations: 0.5742 MB / 0.879 GB, free: 11.52 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003567/0.9269, allocations: 144.9 kB / 0.8791 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01109/0.938, allocations: 5.143 MB / 0.8841 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.9381, allocations: 0 / 0.8841 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006825/0.9449, allocations: 3.508 MB / 0.8876 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/0.948, allocations: 0.4989 MB / 0.888 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009282/0.9573, allocations: 4.521 MB / 0.8925 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.9588, allocations: 1.481 MB / 0.8939 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002123/0.9609, allocations: 429.6 kB / 0.8943 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.9614, allocations: 111.4 kB / 0.8944 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/0.9614, allocations: 0 / 0.8944 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of Templates: time 0.5205/1.482, allocations: 36.14 MB / 0.9297 GB, free: 154.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: