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.001701/0.001701, allocations: 111.2 kB / 16.37 MB, free: 5.539 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.002109/0.002109, allocations: 191.5 kB / 17.31 MB, free: 5.184 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.539/1.539, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.802/1.802, allocations: 292.3 MB / 0.5496 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.001499/0.001499, allocations: 59.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2302, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.4434/0.6737, allocations: 13.94 MB / 0.7984 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01223/0.6859, allocations: 9.476 MB / 0.8077 GB, free: 36.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.6876, allocations: 53.59 kB / 0.8077 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004236/0.692, allocations: 1.66 MB / 0.8093 GB, free: 35.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005268/0.6973, allocations: 1.542 MB / 0.8108 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.6997, allocations: 0.7523 MB / 0.8116 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005651/0.7054, allocations: 2.531 MB / 0.814 GB, free: 33.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002659/0.7081, allocations: 1.419 MB / 0.8154 GB, free: 32.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/0.7107, allocations: 1.046 MB / 0.8164 GB, free: 32.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.7133, allocations: 1.141 MB / 0.8176 GB, free: 31.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004529/0.7138, allocations: 168.7 kB / 0.8177 GB, free: 31.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.7161, allocations: 0.794 MB / 0.8185 GB, free: 31.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009375/0.717, allocations: 0.6124 MB / 0.8191 GB, free: 31.04 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.7185, allocations: 0.9377 MB / 0.82 GB, free: 30.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00462/0.7232, allocations: 2.758 MB / 0.8227 GB, free: 29.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.413e-06/0.7232, allocations: 0 / 0.8227 GB, free: 29.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7232, allocations: 0 / 0.8227 GB, free: 29.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.773e-05/0.7233, allocations: 1.125 kB / 0.8227 GB, free: 29.51 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.00598/0.7293, allocations: 2.135 MB / 0.8248 GB, free: 28.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.7294, allocations: 10.25 kB / 0.8248 GB, free: 28.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/0.7422, allocations: 2.081 MB / 0.8268 GB, free: 28.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003752/0.746, allocations: 1.294 MB / 0.8281 GB, free: 27.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.913e-05/0.7461, allocations: 90.27 kB / 0.8282 GB, free: 27.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005146/0.7467, allocations: 122.5 kB / 0.8283 GB, free: 27.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007078/0.7538, allocations: 2.686 MB / 0.8309 GB, free: 26.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.535e-05/0.7538, allocations: 8.219 kB / 0.8309 GB, free: 26.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.754, allocations: 54.95 kB / 0.831 GB, free: 26.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006988/0.7547, allocations: 179.9 kB / 0.8312 GB, free: 26.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008867/0.7636, allocations: 2.792 MB / 0.8339 GB, free: 25.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01893/0.7826, allocations: 10.47 MB / 0.8441 GB, free: 17.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006834/0.7895, allocations: 2.535 MB / 0.8466 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003254/0.7928, allocations: 1.287 MB / 0.8478 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.262e-05/0.7929, allocations: 10.59 kB / 0.8478 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.793, allocations: 47.91 kB / 0.8479 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 2.575e-06/0.793, allocations: 0 / 0.8479 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.04854/0.8415, allocations: 13.34 MB / 0.8609 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.8416, allocations: 66.19 kB / 0.861 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.8434, allocations: 1.125 MB / 0.8621 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002699/0.8437, allocations: 46.52 kB / 0.8621 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.8441, allocations: 0.7145 MB / 0.8628 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004246/0.8445, allocations: 454.6 kB / 0.8633 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005067/0.845, allocations: 266.7 kB / 0.8635 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.881e-05/0.8451, allocations: 364.1 kB / 0.8639 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003364/0.8485, allocations: 1.342 MB / 0.8652 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00337/0.8519, allocations: 1.601 MB / 0.8667 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006677/0.8586, allocations: 2.997 MB / 0.8697 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.8586, allocations: 0 / 0.8697 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01129/0.8699, allocations: 4.443 MB / 0.874 GB, free: 13.87 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.87, allocations: 11.94 kB / 0.874 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.87, allocations: 8 kB / 0.874 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005401/0.8754, allocations: 1.427 MB / 0.8754 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/0.8777, allocations: 436.8 kB / 0.8758 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02777/0.9055, allocations: 26.69 MB / 0.9019 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/0.9085, allocations: 303.6 kB / 0.9022 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/0.9088, allocations: 59.97 kB / 0.9022 GB, free: 15.11 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 (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.0009803/0.9098, allocations: 442.5 kB / 0.9027 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/0.9101, allocations: 166 kB / 0.9028 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/0.922, allocations: 4.453 MB / 0.9072 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.9221, allocations: 16 kB / 0.9072 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.945e-05/0.9221, allocations: 12 kB / 0.9072 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/0.9222, allocations: 3.984 kB / 0.9072 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/0.9379, allocations: 6.783 MB / 0.9138 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.938, allocations: 0 / 0.9138 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/0.9399, allocations: 383.3 kB / 0.9142 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004785/0.9447, allocations: 1.302 MB / 0.9155 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/0.9449, allocations: 38.88 kB / 0.9155 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02569/0.9706, allocations: 25.49 MB / 0.9404 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.9707, allocations: 4 kB / 0.9404 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/0.9823, allocations: 4.203 MB / 0.9445 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.9836, allocations: 460.6 kB / 0.9449 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.9839, allocations: 24 kB / 0.945 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/0.9862, allocations: 311.5 kB / 0.9453 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004482/0.9866, allocations: 124.7 kB / 0.9454 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.9868, allocations: 51.97 kB / 0.9454 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00108/0.9879, allocations: 0.7566 MB / 0.9462 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9879, allocations: 0 / 0.9462 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002401/0.9903, allocations: 0.5664 MB / 0.9467 GB, free: 15.38 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 (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.0003471/0.9907, allocations: 143.1 kB / 0.9469 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.003, allocations: 5.142 MB / 0.9519 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/1.003, allocations: 0 / 0.9519 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007366/1.01, allocations: 3.487 MB / 0.9553 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/1.013, allocations: 0.5471 MB / 0.9558 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009581/1.022, allocations: 4.102 MB / 0.9598 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/1.024, allocations: 1.477 MB / 0.9613 GB, free: 108 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007645/1.025, allocations: 131.4 kB / 0.9614 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of SimCode: time 1.663e-06/1.025, allocations: 0 / 0.9614 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of Templates: time 0.1128/1.137, allocations: 112.5 MB / 1.071 GB, free: 15.53 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (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)