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.0008064/0.0008063, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007135/0.007135, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.655/1.655, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.862/1.862, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0006089/0.0006091, allocations: 16.25 kB / 0.6743 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2854, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01757/0.3031, allocations: 13.3 MB / 0.8009 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01467/0.3178, allocations: 9.351 MB / 0.81 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.3197, allocations: 51.62 kB / 0.8101 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.3212, allocations: 285.8 kB / 0.8103 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.3263, allocations: 1.408 MB / 0.8117 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.3285, allocations: 0.6785 MB / 0.8124 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004914/0.3334, allocations: 3.179 MB / 0.8155 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004406/0.3379, allocations: 1.988 MB / 0.8174 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.3409, allocations: 0.8713 MB / 0.8183 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003636/0.3446, allocations: 1.054 MB / 0.8193 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009401/0.3456, allocations: 72 kB / 0.8194 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.3491, allocations: 0.8694 MB / 0.8202 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.3503, allocations: 0.5099 MB / 0.8207 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002278/0.3526, allocations: 0.8448 MB / 0.8215 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004984/0.3576, allocations: 2.659 MB / 0.8241 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.3576, allocations: 3.938 kB / 0.8241 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.397e-06/0.3576, allocations: 0 / 0.8241 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001289/0.3577, allocations: 0 / 0.8241 GB, free: 6.234 MB / 0.6387 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.005523/0.3633, allocations: 1.816 MB / 0.8259 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3633, allocations: 8.031 kB / 0.8259 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.3755, allocations: 2.152 MB / 0.828 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003383/0.3789, allocations: 1.201 MB / 0.8292 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.3791, allocations: 86.73 kB / 0.8293 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005701/0.3797, allocations: 120.1 kB / 0.8294 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007333/0.387, allocations: 2.698 MB / 0.832 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.867e-05/0.3871, allocations: 15.84 kB / 0.832 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/0.3874, allocations: 51.98 kB / 0.8321 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000689/0.3881, allocations: 182.1 kB / 0.8323 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008515/0.3967, allocations: 2.854 MB / 0.835 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0179/0.4146, allocations: 10.56 MB / 0.8454 GB, free: 15.64 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007254/0.4219, allocations: 2.58 MB / 0.8479 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003438/0.4254, allocations: 1.303 MB / 0.8492 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.4255, allocations: 13 kB / 0.8492 GB, free: 11.67 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.4256, allocations: 39.56 kB / 0.8492 GB, free: 11.62 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.547e-06/0.4256, allocations: 0 / 0.8492 GB, free: 11.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.04884/0.4745, allocations: 13.47 MB / 0.8624 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.4746, allocations: 68.66 kB / 0.8624 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.4767, allocations: 1.113 MB / 0.8635 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002561/0.477, allocations: 45.7 kB / 0.8636 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006822/0.4777, allocations: 0.7194 MB / 0.8643 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000636/0.4784, allocations: 445.5 kB / 0.8647 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/0.4787, allocations: 105.7 kB / 0.8648 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4789, allocations: 369.9 kB / 0.8651 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003678/0.4826, allocations: 1.362 MB / 0.8665 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003952/0.4865, allocations: 1.62 MB / 0.868 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007824/0.4944, allocations: 3.034 MB / 0.871 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-05/0.4945, allocations: 0 / 0.871 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01248/0.507, allocations: 4.489 MB / 0.8754 GB, free: 284 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.507, allocations: 8 kB / 0.8754 GB, free: 276 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.5071, allocations: 8 kB / 0.8754 GB, free: 268 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/0.5125, allocations: 1.431 MB / 0.8768 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.5148, allocations: 447.2 kB / 0.8772 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02976/0.5446, allocations: 24.57 MB / 0.9012 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.5479, allocations: 315.7 kB / 0.9015 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004325/0.5484, allocations: 67.91 kB / 0.9016 GB, free: 3.656 MB / 0.7169 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.00129/0.5497, allocations: 440.5 kB / 0.902 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006076/0.5503, allocations: 158.1 kB / 0.9022 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.5633, allocations: 4.504 MB / 0.9066 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.5633, allocations: 16 kB / 0.9066 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.457e-05/0.5634, allocations: 12 kB / 0.9066 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.5634, allocations: 3.984 kB / 0.9066 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.5798, allocations: 6.825 MB / 0.9133 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.5799, allocations: 4 kB / 0.9133 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/0.5818, allocations: 395.6 kB / 0.9136 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004999/0.5868, allocations: 1.306 MB / 0.9149 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/0.587, allocations: 35.97 kB / 0.9149 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5815/1.169, allocations: 23.52 MB / 0.9379 GB, free: 112 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.169, allocations: 2.938 kB / 0.9379 GB, free: 112 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/1.18, allocations: 4.24 MB / 0.9421 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.181, allocations: 462.2 kB / 0.9425 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/1.182, allocations: 29.89 kB / 0.9425 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/1.184, allocations: 322.4 kB / 0.9428 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005876/1.184, allocations: 125.8 kB / 0.9429 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/1.185, allocations: 47.61 kB / 0.943 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00111/1.186, allocations: 0.7507 MB / 0.9437 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.186, allocations: 0 / 0.9437 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002081/1.188, allocations: 0.5703 MB / 0.9443 GB, free: 110.5 MB / 0.7325 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.0002888/1.188, allocations: 138.7 kB / 0.9444 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01216/1.2, allocations: 5.157 MB / 0.9495 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.2, allocations: 1.062 kB / 0.9495 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008374/1.209, allocations: 3.511 MB / 0.9529 GB, free: 105.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.212, allocations: 0.5087 MB / 0.9534 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009905/1.222, allocations: 4.694 MB / 0.958 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/1.224, allocations: 1.48 MB / 0.9594 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002396/1.226, allocations: 417.4 kB / 0.9598 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004683/1.227, allocations: 119.6 kB / 0.9599 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.863e-06/1.227, allocations: 0 / 0.9599 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.05743/1.284, allocations: 37.06 MB / 0.9961 GB, free: 77.42 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: