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.001105/0.001105, allocations: 109.4 kB / 15.69 MB, free: 128 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.001106/0.001106, allocations: 188.6 kB / 16.62 MB, free: 6.613 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.47/1.47, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.779/1.779, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001447/0.001447, allocations: 71.98 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2543, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01921/0.2736, allocations: 14.66 MB / 0.7984 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01573/0.2893, allocations: 10.43 MB / 0.8086 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.2911, allocations: 59.62 kB / 0.8087 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004873/0.2961, allocations: 1.698 MB / 0.8103 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006103/0.3022, allocations: 1.814 MB / 0.8121 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.3046, allocations: 0.7523 MB / 0.8128 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004217/0.3088, allocations: 2.749 MB / 0.8155 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002062/0.3109, allocations: 1.415 MB / 0.8169 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.3133, allocations: 1.512 MB / 0.8184 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.3156, allocations: 1.156 MB / 0.8195 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005759/0.3161, allocations: 164 kB / 0.8197 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.3184, allocations: 0.7838 MB / 0.8204 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008784/0.3193, allocations: 0.6076 MB / 0.821 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.3212, allocations: 0.9484 MB / 0.822 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.3245, allocations: 2.768 MB / 0.8247 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3245, allocations: 3.938 kB / 0.8247 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3246, allocations: 0 / 0.8247 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.789e-05/0.3246, allocations: 0 / 0.8247 GB, free: 3.047 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.003874/0.3285, allocations: 2.166 MB / 0.8268 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3285, allocations: 12.03 kB / 0.8268 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.3402, allocations: 2.116 MB / 0.8289 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.3432, allocations: 1.307 MB / 0.8301 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/0.3432, allocations: 86.69 kB / 0.8302 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.3435, allocations: 120 kB / 0.8303 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005694/0.3492, allocations: 2.67 MB / 0.8329 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.3493, allocations: 7.984 kB / 0.8329 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.3494, allocations: 55.92 kB / 0.833 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006325/0.3501, allocations: 198.1 kB / 0.8332 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007436/0.3575, allocations: 2.787 MB / 0.8359 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.3719, allocations: 10.46 MB / 0.8461 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007936/0.3799, allocations: 2.348 MB / 0.8484 GB, free: 9.832 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005232/0.3851, allocations: 1.276 MB / 0.8497 GB, free: 8.555 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.3853, allocations: 16.97 kB / 0.8497 GB, free: 8.539 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.672e-05/0.3854, allocations: 51.5 kB / 0.8497 GB, free: 8.48 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 4.759e-06/0.3854, allocations: 0 / 0.8497 GB, free: 8.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.09153/0.4769, allocations: 16.46 MB / 0.8658 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.4771, allocations: 76.72 kB / 0.8659 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.4794, allocations: 1.172 MB / 0.867 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003427/0.4798, allocations: 53.7 kB / 0.8671 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000775/0.4805, allocations: 0.7397 MB / 0.8678 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007145/0.4813, allocations: 0.5159 MB / 0.8683 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008991/0.4822, allocations: 287.4 kB / 0.8686 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4823, allocations: 309.1 kB / 0.8689 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005255/0.4876, allocations: 1.51 MB / 0.8703 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005904/0.4935, allocations: 1.78 MB / 0.8721 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/0.5054, allocations: 3.365 MB / 0.8754 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/0.5055, allocations: 7.938 kB / 0.8754 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02242/0.5279, allocations: 5.269 MB / 0.8805 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.528, allocations: 8 kB / 0.8805 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.528, allocations: 11.98 kB / 0.8805 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/0.5388, allocations: 1.878 MB / 0.8824 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/0.5421, allocations: 427.2 kB / 0.8828 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04718/0.5893, allocations: 24.12 MB / 0.9063 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/0.5936, allocations: 307.6 kB / 0.9066 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005923/0.5942, allocations: 68.06 kB / 0.9067 GB, free: 12.56 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.001692/0.596, allocations: 473.3 kB / 0.9072 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007527/0.5967, allocations: 173.9 kB / 0.9073 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02212/0.6189, allocations: 5.327 MB / 0.9125 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.6189, allocations: 16 kB / 0.9125 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.239e-05/0.619, allocations: 16 kB / 0.9125 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-05/0.619, allocations: 8.062 kB / 0.9126 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4232/1.042, allocations: 7.435 MB / 0.9198 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/1.042, allocations: 2.688 kB / 0.9198 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/1.044, allocations: 356.6 kB / 0.9202 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006525/1.051, allocations: 1.702 MB / 0.9218 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/1.051, allocations: 43.48 kB / 0.9219 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02527/1.076, allocations: 23.3 MB / 0.9446 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.076, allocations: 2.938 kB / 0.9446 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/1.091, allocations: 4.891 MB / 0.9494 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.092, allocations: 491.8 kB / 0.9499 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/1.093, allocations: 31.98 kB / 0.9499 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/1.095, allocations: 321.9 kB / 0.9502 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006368/1.095, allocations: 145.2 kB / 0.9503 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/1.096, allocations: 58.55 kB / 0.9504 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001074/1.097, allocations: 0.7888 MB / 0.9512 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.097, allocations: 0 / 0.9512 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002489/1.099, allocations: 0.6585 MB / 0.9518 GB, free: 109.9 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.0003418/1.1, allocations: 144.7 kB / 0.952 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.111, allocations: 5.149 MB / 0.957 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.111, allocations: 1.438 kB / 0.957 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007626/1.118, allocations: 3.344 MB / 0.9602 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.002529/1.121, allocations: 0.557 MB / 0.9608 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008662/1.13, allocations: 4.288 MB / 0.965 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/1.131, allocations: 1.571 MB / 0.9665 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001627/1.133, allocations: 387.6 kB / 0.9669 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/1.133, allocations: 107.6 kB / 0.967 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/1.133, allocations: 0 / 0.967 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.06089/1.194, allocations: 44.87 MB / 1.011 GB, free: 64.83 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)