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.001292/0.001292, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 197.1 kB / 16.53 MB, free: 6.391 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.597/1.597, allocations: 205.1 MB / 222.4 MB, free: 4.426 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.726/1.726, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001515/0.001515, allocations: 64.56 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3015, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01842/0.32, allocations: 14.65 MB / 0.7977 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01744/0.3375, allocations: 10.43 MB / 0.8079 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.3398, allocations: 59.62 kB / 0.8079 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00548/0.3454, allocations: 1.688 MB / 0.8096 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008956/0.3544, allocations: 1.809 MB / 0.8113 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.3575, allocations: 0.7587 MB / 0.8121 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006134/0.3636, allocations: 2.742 MB / 0.8148 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003346/0.367, allocations: 1.43 MB / 0.8162 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.3704, allocations: 1.5 MB / 0.8176 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002935/0.3734, allocations: 1.164 MB / 0.8188 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009213/0.3743, allocations: 164 kB / 0.8189 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.3774, allocations: 0.7799 MB / 0.8197 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.3788, allocations: 0.6115 MB / 0.8203 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002561/0.3814, allocations: 0.9484 MB / 0.8212 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006445/0.3878, allocations: 2.737 MB / 0.8239 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.3879, allocations: 0 / 0.8239 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3879, allocations: 0 / 0.8239 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001549/0.3881, allocations: 4 kB / 0.8239 GB, free: 3.848 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.007298/0.3954, allocations: 2.17 MB / 0.826 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.3955, allocations: 8.031 kB / 0.826 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.4078, allocations: 2.101 MB / 0.8281 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.4111, allocations: 1.221 MB / 0.8293 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.4112, allocations: 90.69 kB / 0.8293 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003275/0.4116, allocations: 124 kB / 0.8295 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006283/0.4179, allocations: 2.67 MB / 0.8321 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.621e-05/0.4179, allocations: 7.938 kB / 0.8321 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.4181, allocations: 51.98 kB / 0.8321 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007163/0.4189, allocations: 194.1 kB / 0.8323 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0082/0.4271, allocations: 2.791 MB / 0.835 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01702/0.4441, allocations: 10.51 MB / 0.8453 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006969/0.4511, allocations: 2.344 MB / 0.8476 GB, free: 10.68 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003409/0.4546, allocations: 1.271 MB / 0.8488 GB, free: 9.414 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.992e-05/0.4547, allocations: 13 kB / 0.8488 GB, free: 9.402 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.4548, allocations: 43.56 kB / 0.8489 GB, free: 9.352 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.446e-06/0.4548, allocations: 4 kB / 0.8489 GB, free: 9.348 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.06133/0.5161, allocations: 16.47 MB / 0.865 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.5162, allocations: 72.7 kB / 0.865 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.5179, allocations: 1.172 MB / 0.8662 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.5181, allocations: 49.7 kB / 0.8662 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/0.5186, allocations: 0.7475 MB / 0.867 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004933/0.5191, allocations: 0.5198 MB / 0.8675 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005885/0.5197, allocations: 287.4 kB / 0.8677 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5199, allocations: 305.1 kB / 0.868 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003575/0.5235, allocations: 1.514 MB / 0.8695 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003779/0.5273, allocations: 1.784 MB / 0.8713 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007674/0.535, allocations: 3.365 MB / 0.8745 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.535, allocations: 4 kB / 0.8745 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01511/0.5501, allocations: 5.268 MB / 0.8797 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/0.5502, allocations: 8 kB / 0.8797 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/0.5503, allocations: 12.78 kB / 0.8797 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007195/0.5575, allocations: 1.893 MB / 0.8816 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.5597, allocations: 415.2 kB / 0.882 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02984/0.5896, allocations: 24.15 MB / 0.9055 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.5925, allocations: 311.5 kB / 0.9058 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.5928, allocations: 67.95 kB / 0.9059 GB, free: 13.38 MB / 0.7325 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.001097/0.5939, allocations: 469.4 kB / 0.9064 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/0.5943, allocations: 177.9 kB / 0.9065 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.6081, allocations: 5.316 MB / 0.9117 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.6081, allocations: 20 kB / 0.9117 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-05/0.6082, allocations: 16 kB / 0.9117 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.322e-05/0.6082, allocations: 7.969 kB / 0.9118 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5165/1.125, allocations: 7.424 MB / 0.919 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.882e-05/1.125, allocations: 3.734 kB / 0.919 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/1.127, allocations: 354.2 kB / 0.9193 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006617/1.134, allocations: 1.718 MB / 0.921 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/1.134, allocations: 47.59 kB / 0.9211 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02644/1.16, allocations: 23.31 MB / 0.9438 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/1.16, allocations: 6.844 kB / 0.9438 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/1.176, allocations: 4.89 MB / 0.9486 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.177, allocations: 496 kB / 0.9491 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003492/1.177, allocations: 32.78 kB / 0.9491 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/1.18, allocations: 314.5 kB / 0.9494 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008208/1.18, allocations: 152.1 kB / 0.9496 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.181, allocations: 55.58 kB / 0.9496 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001338/1.182, allocations: 0.7882 MB / 0.9504 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.81e-07/1.182, allocations: 0 / 0.9504 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002737/1.185, allocations: 0.6578 MB / 0.951 GB, free: 110.2 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 (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.0003439/1.185, allocations: 146 kB / 0.9512 GB, free: 110 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01341/1.198, allocations: 5.425 MB / 0.9565 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.198, allocations: 3.875 kB / 0.9565 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007396/1.206, allocations: 3.351 MB / 0.9597 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/1.209, allocations: 0.5622 MB / 0.9603 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00956/1.218, allocations: 4.324 MB / 0.9645 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/1.22, allocations: 1.571 MB / 0.9661 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00178/1.221, allocations: 384.8 kB / 0.9664 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/1.222, allocations: 109.5 kB / 0.9665 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of SimCode: time 9.21e-07/1.222, allocations: 0 / 0.9665 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.07003/1.292, allocations: 44.88 MB / 1.01 GB, free: 65.29 MB / 0.7325 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)