Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009472/0.0009472, allocations: 175.1 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008797/0.0008797, allocations: 88.53 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004777, allocations: 8.625 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2393, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003851/0.2432, allocations: 4.012 MB / 0.9054 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003639/0.2469, allocations: 3.215 MB / 0.9085 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.2472, allocations: 8 kB / 0.9085 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.2478, allocations: 171 kB / 0.9087 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008388/0.2486, allocations: 350.4 kB / 0.909 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.2492, allocations: 223.6 kB / 0.9092 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006008/0.2498, allocations: 0.7984 MB / 0.91 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.2508, allocations: 0.8214 MB / 0.9108 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.251, allocations: 187.2 kB / 0.911 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.2514, allocations: 255 kB / 0.9112 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.2514, allocations: 16 kB / 0.9113 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.252, allocations: 375.4 kB / 0.9116 GB, free: 53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2522, allocations: 143.5 kB / 0.9118 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.2523, allocations: 220.7 kB / 0.912 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.2529, allocations: 0.6821 MB / 0.9126 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2529, allocations: 3.938 kB / 0.9126 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2529, allocations: 0 / 0.9126 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.2529, allocations: 0 / 0.9126 GB, free: 51.95 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001052/0.254, allocations: 0.717 MB / 0.9133 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.254, allocations: 8.031 kB / 0.9133 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/0.2566, allocations: 0.6945 MB / 0.914 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006563/0.2573, allocations: 483.7 kB / 0.9145 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.2573, allocations: 21.03 kB / 0.9145 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/0.2574, allocations: 40.12 kB / 0.9145 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.2587, allocations: 0.7864 MB / 0.9153 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.2587, allocations: 0 / 0.9153 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.2588, allocations: 16 kB / 0.9153 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.2589, allocations: 48.59 kB / 0.9154 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.2609, allocations: 0.8804 MB / 0.9162 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003172/0.2641, allocations: 2.87 MB / 0.919 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.2655, allocations: 0.5215 MB / 0.9195 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006446/0.2662, allocations: 260.6 kB / 0.9198 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.595e-05/0.2663, allocations: 85.09 kB / 0.9199 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2664, allocations: 42.5 kB / 0.9199 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.465e-06/0.2664, allocations: 0 / 0.9199 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.01065/0.277, allocations: 3.218 MB / 0.9231 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.2771, allocations: 81.11 kB / 0.9231 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.2775, allocations: 421.6 kB / 0.9235 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.2776, allocations: 29.7 kB / 0.9236 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2777, allocations: 235.8 kB / 0.9238 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.2778, allocations: 82.81 kB / 0.9239 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.2778, allocations: 4 kB / 0.9239 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.2779, allocations: 350.8 kB / 0.9242 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007808/0.2787, allocations: 367.5 kB / 0.9246 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007874/0.2795, allocations: 441.3 kB / 0.925 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.2811, allocations: 0.7804 MB / 0.9257 GB, free: 38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2811, allocations: 0 / 0.9257 GB, free: 38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004608/0.2857, allocations: 1.549 MB / 0.9273 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/0.2858, allocations: 144 kB / 0.9274 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.2858, allocations: 4 kB / 0.9274 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003662/0.2894, allocations: 0.8597 MB / 0.9282 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.2901, allocations: 127.8 kB / 0.9284 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00541/0.2955, allocations: 4.673 MB / 0.9329 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/0.2963, allocations: 119.8 kB / 0.933 GB, free: 30.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.2963, allocations: 16.05 kB / 0.9331 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.2963, allocations: 8 kB / 0.9331 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003775/0.3001, allocations: 1.261 MB / 0.9343 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3001, allocations: 0 / 0.9343 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/0.3025, allocations: 0.5508 MB / 0.9348 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.3031, allocations: 151.8 kB / 0.935 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.306, allocations: 2.502 MB / 0.9374 GB, free: 25.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.3067, allocations: 111.9 kB / 0.9375 GB, free: 25.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.3068, allocations: 23.92 kB / 0.9375 GB, free: 25.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003046/0.3071, allocations: 316.1 kB / 0.9378 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.3072, allocations: 35.62 kB / 0.9379 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.3113, allocations: 1.431 MB / 0.9393 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3114, allocations: 4 kB / 0.9393 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3114, allocations: 0 / 0.9393 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3114, allocations: 11.86 kB / 0.9393 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/0.3161, allocations: 2.075 MB / 0.9413 GB, free: 21.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3162, allocations: 0 / 0.9413 GB, free: 21.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.3166, allocations: 87.83 kB / 0.9414 GB, free: 21.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003211/0.3198, allocations: 0.8013 MB / 0.9422 GB, free: 20.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.3198, allocations: 4 kB / 0.9422 GB, free: 20.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004583/0.3244, allocations: 4.481 MB / 0.9466 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3245, allocations: 12 kB / 0.9466 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/0.3285, allocations: 1.433 MB / 0.948 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.3287, allocations: 172.6 kB / 0.9481 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.3288, allocations: 15.94 kB / 0.9482 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.3294, allocations: 95.84 kB / 0.9483 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3295, allocations: 19.91 kB / 0.9483 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.3295, allocations: 12 kB / 0.9483 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002944/0.3298, allocations: 315.1 kB / 0.9486 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3298, allocations: 0 / 0.9486 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007167/0.3306, allocations: 204 kB / 0.9488 GB, free: 13.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001802/0.3308, allocations: 119.2 kB / 0.9489 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003146/0.3339, allocations: 1.632 MB / 0.9505 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3339, allocations: 3.938 kB / 0.9505 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.335, allocations: 0.6691 MB / 0.9511 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.3357, allocations: 124.8 kB / 0.9513 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.3373, allocations: 1.273 MB / 0.9525 GB, free: 9.605 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.3376, allocations: 0.9015 MB / 0.9534 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3378, allocations: 39.41 kB / 0.9534 GB, free: 8.637 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/0.3378, allocations: 0 / 0.9534 GB, free: 8.637 MB / 0.6042 GB Notification: Performance of Templates: time 0.01264/0.3504, allocations: 12.58 MB / 0.9657 GB, free: 12.08 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)