Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006552/0.006552, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001207/0.001207, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.704/1.704, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.61/1.61, allocations: 251.7 MB / 0.5094 GB, free: 3.008 MB / 414.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.00147/0.00147, allocations: 72.45 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2695, allocations: 104.7 MB / 0.8281 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04127/0.3108, allocations: 37.51 MB / 0.8647 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02453/0.3354, allocations: 13.05 MB / 0.8774 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005764/0.3412, allocations: 171.1 kB / 0.8776 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01117/0.3525, allocations: 3.878 MB / 0.8814 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.3641, allocations: 2.612 MB / 0.8839 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01205/0.3763, allocations: 2.708 MB / 0.8866 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01913/0.3954, allocations: 9.54 MB / 0.8959 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6965/1.092, allocations: 10.49 MB / 0.9061 GB, free: 20.51 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0107/1.103, allocations: 4.052 MB / 0.9101 GB, free: 20.4 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01266/1.115, allocations: 4.373 MB / 0.9144 GB, free: 19.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.006116/1.122, allocations: 0.7699 MB / 0.9151 GB, free: 19.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/1.133, allocations: 1.782 MB / 0.9169 GB, free: 19.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.009537/1.143, allocations: 3.021 MB / 0.9198 GB, free: 19.69 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01469/1.158, allocations: 3.573 MB / 0.9233 GB, free: 18.81 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02386/1.181, allocations: 11.85 MB / 0.9349 GB, free: 17.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/1.182, allocations: 1.594 kB / 0.9349 GB, free: 17.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.457e-06/1.182, allocations: 0 / 0.9349 GB, free: 17.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005597/1.182, allocations: 0 / 0.9349 GB, free: 17.73 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02984/1.212, allocations: 6.36 MB / 0.9411 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.212, allocations: 9.594 kB / 0.9411 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/1.224, allocations: 1.305 MB / 0.9424 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/1.234, allocations: 3.777 MB / 0.9461 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/1.234, allocations: 392 kB / 0.9464 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002912/1.237, allocations: 0.496 MB / 0.9469 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02228/1.26, allocations: 8.882 MB / 0.9556 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001675/1.26, allocations: 32.83 kB / 0.9556 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007284/1.261, allocations: 226.9 kB / 0.9558 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002371/1.263, allocations: 0.6309 MB / 0.9565 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/1.277, allocations: 7.016 MB / 0.9633 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05997/1.337, allocations: 40.01 MB / 1.002 GB, free: 0.9336 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005043/1.342, allocations: 2.905 MB / 1.005 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004482/1.347, allocations: 2.666 MB / 1.008 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003169/1.347, allocations: 29.3 kB / 1.008 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.122e-05/1.347, allocations: 64.66 kB / 1.008 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=265): time 5.089e-06/1.347, allocations: 0 / 1.008 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of matching and sorting (n=424): time 0.327/1.674, allocations: 74.69 MB / 1.081 GB, free: 220 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/1.674, allocations: 98.73 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005283/1.68, allocations: 2.355 MB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001318/1.681, allocations: 97.7 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.00196/1.683, allocations: 2.339 MB / 1.086 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.002534/1.685, allocations: 1.437 MB / 1.087 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003057/1.689, allocations: 0.7254 MB / 1.088 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.689, allocations: 309.1 kB / 1.088 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004966/1.694, allocations: 2.995 MB / 1.091 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005757/1.699, allocations: 3.846 MB / 1.095 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/1.711, allocations: 7.385 MB / 1.102 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.523e-05/1.711, allocations: 8 kB / 1.102 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03474/1.746, allocations: 12.55 MB / 1.114 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-05/1.746, allocations: 16 kB / 1.114 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.995e-05/1.746, allocations: 24 kB / 1.114 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02432/1.77, allocations: 6.02 MB / 1.12 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/1.773, allocations: 496.3 kB / 1.121 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09823/1.872, allocations: 73 MB / 1.192 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00622/1.878, allocations: 211.8 kB / 1.192 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001749/1.88, allocations: 156 kB / 1.192 GB, free: 10.7 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007179/1.887, allocations: 1.997 MB / 1.194 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002241/1.889, allocations: 391.4 kB / 1.195 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03597/1.925, allocations: 12.22 MB / 1.206 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-05/1.925, allocations: 40 kB / 1.207 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002611/1.926, allocations: 51.94 kB / 1.207 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001197/1.926, allocations: 19.92 kB / 1.207 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05269/1.978, allocations: 19.15 MB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.415e-05/1.978, allocations: 4 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/1.98, allocations: 282.6 kB / 1.226 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02377/2.004, allocations: 5.577 MB / 1.231 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001504/2.006, allocations: 88 kB / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7207/2.727, allocations: 70.59 MB / 1.3 GB, free: 357.3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.272e-05/2.727, allocations: 12.86 kB / 1.3 GB, free: 357.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04663/2.773, allocations: 15.62 MB / 1.315 GB, free: 356.4 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005088/2.778, allocations: 1.042 MB / 1.316 GB, free: 356.3 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002299/2.781, allocations: 80.52 kB / 1.316 GB, free: 356.3 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004651/2.785, allocations: 214.9 kB / 1.317 GB, free: 356.3 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002525/2.788, allocations: 407.2 kB / 1.317 GB, free: 356.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008484/2.789, allocations: 109.2 kB / 1.317 GB, free: 356.3 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.004192/2.793, allocations: 1.554 MB / 1.319 GB, free: 356.2 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.01e-07/2.793, allocations: 8.078 kB / 1.319 GB, free: 356.2 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.01507/2.808, allocations: 1.846 MB / 1.32 GB, free: 356.2 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00234/2.81, allocations: 218.4 kB / 1.321 GB, free: 356.1 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02599/2.836, allocations: 12.21 MB / 1.333 GB, free: 350.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-05/2.837, allocations: 2.031 kB / 1.333 GB, free: 350.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0177/2.854, allocations: 8.366 MB / 1.341 GB, free: 345.6 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008672/2.863, allocations: 1.19 MB / 1.342 GB, free: 345.3 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/2.89, allocations: 12.2 MB / 1.354 GB, free: 339.9 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008696/2.899, allocations: 4.086 MB / 1.358 GB, free: 338.5 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00454/2.904, allocations: 0.6689 MB / 1.358 GB, free: 338.3 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009503/2.905, allocations: 184.2 kB / 1.359 GB, free: 338.3 MB / 1.045 GB Notification: Performance of SimCode: time 9.82e-07/2.905, allocations: 0 / 1.359 GB, free: 338.3 MB / 1.045 GB Notification: Performance of Templates: time 0.2199/3.125, allocations: 110.7 MB / 1.467 GB, free: 237.5 MB / 1.045 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)