Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00121/0.00121, allocations: 104.8 kB / 16.29 MB, free: 6.43 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.001446/0.001446, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.698/1.698, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.954/1.954, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001501/0.001501, allocations: 67.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3033, allocations: 114.5 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.6113/0.9146, allocations: 14.65 MB / 0.7984 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02541/0.9401, allocations: 10.44 MB / 0.8086 GB, free: 35.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.9431, allocations: 53.16 kB / 0.8086 GB, free: 35.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008772/0.952, allocations: 1.694 MB / 0.8103 GB, free: 34.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.9646, allocations: 1.808 MB / 0.8121 GB, free: 33.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004596/0.9692, allocations: 0.7532 MB / 0.8128 GB, free: 32.94 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008435/0.9776, allocations: 2.764 MB / 0.8155 GB, free: 31.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004482/0.9822, allocations: 1.421 MB / 0.8169 GB, free: 31.12 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004807/0.987, allocations: 1.503 MB / 0.8183 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/0.99, allocations: 1.154 MB / 0.8195 GB, free: 30.08 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008645/0.9909, allocations: 164.2 kB / 0.8196 GB, free: 30.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.994, allocations: 0.7863 MB / 0.8204 GB, free: 29.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.9955, allocations: 0.6035 MB / 0.821 GB, free: 29.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003321/0.9988, allocations: 0.96 MB / 0.8219 GB, free: 28.96 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006353/1.005, allocations: 2.763 MB / 0.8246 GB, free: 28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.005, allocations: 1.953 kB / 0.8246 GB, free: 28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.244e-06/1.005, allocations: 2.25 kB / 0.8246 GB, free: 28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001297/1.005, allocations: 0 / 0.8246 GB, free: 28 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.00788/1.013, allocations: 2.175 MB / 0.8267 GB, free: 26.65 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.013, allocations: 8.594 kB / 0.8268 GB, free: 26.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/1.026, allocations: 2.112 MB / 0.8288 GB, free: 26.51 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004104/1.03, allocations: 1.202 MB / 0.83 GB, free: 25.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/1.031, allocations: 93.55 kB / 0.8301 GB, free: 25.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007843/1.031, allocations: 116.1 kB / 0.8302 GB, free: 25.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007342/1.039, allocations: 2.68 MB / 0.8328 GB, free: 24.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-05/1.039, allocations: 11.83 kB / 0.8328 GB, free: 24.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/1.039, allocations: 54.33 kB / 0.8329 GB, free: 24.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006589/1.04, allocations: 190.9 kB / 0.8331 GB, free: 24.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007949/1.048, allocations: 2.792 MB / 0.8358 GB, free: 23.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01743/1.065, allocations: 10.47 MB / 0.846 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006086/1.071, allocations: 2.344 MB / 0.8483 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003045/1.074, allocations: 1.272 MB / 0.8495 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/1.074, allocations: 9.375 kB / 0.8495 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/1.074, allocations: 47.97 kB / 0.8496 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 3.727e-06/1.074, allocations: 0 / 0.8496 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=153): time 0.05705/1.132, allocations: 16.47 MB / 0.8657 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.132, allocations: 67.84 kB / 0.8657 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/1.134, allocations: 1.181 MB / 0.8669 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004032/1.134, allocations: 52.33 kB / 0.8669 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005276/1.135, allocations: 0.7384 MB / 0.8677 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006688/1.136, allocations: 0.5212 MB / 0.8682 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006069/1.136, allocations: 283.5 kB / 0.8684 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.936e-05/1.136, allocations: 317 kB / 0.8687 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/1.139, allocations: 1.503 MB / 0.8702 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003077/1.142, allocations: 1.78 MB / 0.872 GB, free: 15.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007559/1.15, allocations: 3.364 MB / 0.8752 GB, free: 12.44 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/1.15, allocations: 4 kB / 0.8752 GB, free: 12.44 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01539/1.165, allocations: 5.28 MB / 0.8804 GB, free: 7.117 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/1.165, allocations: 8 kB / 0.8804 GB, free: 7.109 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/1.166, allocations: 8 kB / 0.8804 GB, free: 7.102 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007297/1.173, allocations: 1.882 MB / 0.8822 GB, free: 5.195 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/1.175, allocations: 411.3 kB / 0.8826 GB, free: 4.793 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03309/1.208, allocations: 24.14 MB / 0.9062 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/1.211, allocations: 303.5 kB / 0.9065 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00047/1.212, allocations: 75.89 kB / 0.9066 GB, free: 11.18 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 (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.001599/1.213, allocations: 461.5 kB / 0.907 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007648/1.214, allocations: 177.9 kB / 0.9072 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.227, allocations: 5.315 MB / 0.9124 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/1.227, allocations: 19.12 kB / 0.9124 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.36e-05/1.228, allocations: 16.09 kB / 0.9124 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/1.228, allocations: 15.95 kB / 0.9124 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/1.245, allocations: 7.425 MB / 0.9197 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.245, allocations: 4.344 kB / 0.9197 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/1.247, allocations: 351.4 kB / 0.92 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00614/1.253, allocations: 1.705 MB / 0.9217 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003413/1.253, allocations: 39.97 kB / 0.9217 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02924/1.283, allocations: 23.3 MB / 0.9445 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.283, allocations: 7.938 kB / 0.9445 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/1.295, allocations: 4.889 MB / 0.9493 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/1.297, allocations: 498.6 kB / 0.9497 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/1.297, allocations: 31.98 kB / 0.9498 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/1.299, allocations: 316 kB / 0.9501 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006219/1.3, allocations: 153 kB / 0.9502 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.3, allocations: 59.47 kB / 0.9503 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001246/1.302, allocations: 0.7899 MB / 0.951 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.302, allocations: 0 / 0.951 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002619/1.304, allocations: 0.6562 MB / 0.9517 GB, free: 11.59 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 (46): * Single equations (assignments): 38 * 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%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004258/1.305, allocations: 151.1 kB / 0.9518 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01163/1.316, allocations: 5.14 MB / 0.9568 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.316, allocations: 0 / 0.9568 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007294/1.324, allocations: 3.363 MB / 0.9601 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/1.327, allocations: 0.5502 MB / 0.9607 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00953/1.336, allocations: 4.289 MB / 0.9649 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/1.338, allocations: 1.564 MB / 0.9664 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001668/1.34, allocations: 389.4 kB / 0.9668 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/1.34, allocations: 107.4 kB / 0.9669 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of SimCode: time 1.754e-06/1.34, allocations: 0 / 0.9669 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of Templates: time 0.07779/1.418, allocations: 44.88 MB / 1.011 GB, free: 15.5 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)