Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001356/0.001356, allocations: 100.4 kB / 16.29 MB, free: 6.012 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.001506/0.001506, allocations: 181.6 kB / 17.22 MB, free: 5.617 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.67/1.67, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.917/1.917, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001503/0.001503, allocations: 71.89 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2826, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.5499/0.8325, allocations: 13.91 MB / 0.7977 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.8458, allocations: 9.478 MB / 0.8069 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.8479, allocations: 57.78 kB / 0.807 GB, free: 36.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004747/0.8528, allocations: 1.671 MB / 0.8086 GB, free: 35.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006977/0.8597, allocations: 1.543 MB / 0.8101 GB, free: 34.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.8627, allocations: 0.7553 MB / 0.8109 GB, free: 34.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005712/0.8684, allocations: 2.513 MB / 0.8133 GB, free: 33.17 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.8713, allocations: 1.42 MB / 0.8147 GB, free: 32.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.8739, allocations: 1.046 MB / 0.8157 GB, free: 32.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.8765, allocations: 1.148 MB / 0.8168 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004346/0.877, allocations: 164.5 kB / 0.817 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.8794, allocations: 0.7891 MB / 0.8178 GB, free: 31.42 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007824/0.8802, allocations: 0.6205 MB / 0.8184 GB, free: 31.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.8814, allocations: 0.9413 MB / 0.8193 GB, free: 30.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004865/0.8863, allocations: 2.755 MB / 0.822 GB, free: 29.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.8863, allocations: 0 / 0.822 GB, free: 29.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.765e-06/0.8863, allocations: 0 / 0.822 GB, free: 29.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.097e-05/0.8864, allocations: 1.531 kB / 0.822 GB, free: 29.6 MB / 0.6544 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.005753/0.8922, allocations: 2.134 MB / 0.8241 GB, free: 28.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.8922, allocations: 9.969 kB / 0.8241 GB, free: 28.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/0.9048, allocations: 2.09 MB / 0.8261 GB, free: 28.15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003755/0.9086, allocations: 1.194 MB / 0.8273 GB, free: 27.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.9087, allocations: 85.73 kB / 0.8274 GB, free: 27.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003789/0.9091, allocations: 123.1 kB / 0.8275 GB, free: 27.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007594/0.9167, allocations: 2.694 MB / 0.8301 GB, free: 26.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.087e-05/0.9168, allocations: 12.17 kB / 0.8301 GB, free: 26.28 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.917, allocations: 51.52 kB / 0.8302 GB, free: 26.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006555/0.9176, allocations: 178.8 kB / 0.8303 GB, free: 26.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008141/0.9258, allocations: 2.801 MB / 0.8331 GB, free: 25.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.9416, allocations: 10.46 MB / 0.8433 GB, free: 17.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006677/0.9484, allocations: 2.527 MB / 0.8458 GB, free: 16.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002987/0.9514, allocations: 1.286 MB / 0.847 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.738e-05/0.9515, allocations: 14.3 kB / 0.847 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.9515, allocations: 39.25 kB / 0.8471 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 3.537e-06/0.9516, allocations: 1.156 kB / 0.8471 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.04365/0.9952, allocations: 13.35 MB / 0.8601 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.9953, allocations: 65.66 kB / 0.8602 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.9978, allocations: 1.121 MB / 0.8613 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003549/0.9981, allocations: 47.11 kB / 0.8613 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/0.9987, allocations: 0.7123 MB / 0.862 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006604/0.9993, allocations: 462.1 kB / 0.8625 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007396/1, allocations: 258.9 kB / 0.8627 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1, allocations: 360.5 kB / 0.863 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003124/1.003, allocations: 1.344 MB / 0.8644 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003179/1.007, allocations: 1.602 MB / 0.8659 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006092/1.013, allocations: 2.996 MB / 0.8688 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/1.013, allocations: 4 kB / 0.8688 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01047/1.023, allocations: 4.435 MB / 0.8732 GB, free: 14.36 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/1.023, allocations: 11.94 kB / 0.8732 GB, free: 14.35 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/1.023, allocations: 8 kB / 0.8732 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005293/1.029, allocations: 1.439 MB / 0.8746 GB, free: 12.87 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/1.031, allocations: 439.2 kB / 0.875 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02934/1.061, allocations: 26.68 MB / 0.9011 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/1.064, allocations: 299.5 kB / 0.9014 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004139/1.064, allocations: 59.97 kB / 0.9014 GB, free: 15.59 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001428/1.066, allocations: 438.5 kB / 0.9018 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006933/1.066, allocations: 166 kB / 0.902 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/1.078, allocations: 4.453 MB / 0.9063 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/1.078, allocations: 16 kB / 0.9064 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.516e-05/1.078, allocations: 16 kB / 0.9064 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/1.078, allocations: 7.969 kB / 0.9064 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/1.094, allocations: 6.774 MB / 0.913 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.094, allocations: 0 / 0.913 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.096, allocations: 387.3 kB / 0.9134 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004841/1.1, allocations: 1.309 MB / 0.9147 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002605/1.101, allocations: 42.41 kB / 0.9147 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02751/1.128, allocations: 25.48 MB / 0.9396 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.128, allocations: 8.141 kB / 0.9396 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/1.139, allocations: 4.2 MB / 0.9437 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/1.141, allocations: 454.9 kB / 0.9441 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003591/1.141, allocations: 28 kB / 0.9441 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/1.143, allocations: 307.5 kB / 0.9444 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004871/1.143, allocations: 130.6 kB / 0.9446 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.144, allocations: 47.97 kB / 0.9446 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001088/1.145, allocations: 0.7565 MB / 0.9453 GB, free: 452 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/1.145, allocations: 0 / 0.9453 GB, free: 452 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002419/1.147, allocations: 0.5665 MB / 0.9459 GB, free: 15.87 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003359/1.147, allocations: 143.1 kB / 0.946 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.158, allocations: 5.142 MB / 0.9511 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.158, allocations: 0 / 0.9511 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00671/1.165, allocations: 3.484 MB / 0.9545 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/1.167, allocations: 0.5552 MB / 0.955 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008289/1.176, allocations: 3.991 MB / 0.9589 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/1.177, allocations: 1.473 MB / 0.9603 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001539/1.178, allocations: 429 kB / 0.9607 GB, free: 312 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/1.179, allocations: 107.4 kB / 0.9609 GB, free: 204 kB / 0.7481 GB Notification: Performance of SimCode: time 1.152e-06/1.179, allocations: 11.94 kB / 0.9609 GB, free: 192 kB / 0.7481 GB Notification: Performance of Templates: time 0.06536/1.244, allocations: 38.95 MB / 0.9989 GB, free: 9.715 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)