Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.378/1.378, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.00106/0.00106, allocations: 180.2 kB / 326.5 MB, free: 2.68 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.651/1.651, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0007941/0.0007941, allocations: 107.6 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003034, allocations: 11.98 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1821, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.004424/0.1865, allocations: 4.754 MB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003604/0.1902, allocations: 3.367 MB / 0.9047 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.1904, allocations: 4 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.1916, allocations: 494.2 kB / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006055/0.1922, allocations: 352.8 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.1926, allocations: 239.5 kB / 0.9057 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006878/0.1933, allocations: 0.8647 MB / 0.9066 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000519/0.1939, allocations: 0.4894 MB / 0.907 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.1941, allocations: 199.2 kB / 0.9072 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.1943, allocations: 271 kB / 0.9075 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.1944, allocations: 23.94 kB / 0.9075 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.1949, allocations: 371.4 kB / 0.9079 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.195, allocations: 151.5 kB / 0.908 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1951, allocations: 198.9 kB / 0.9082 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.1957, allocations: 0.7208 MB / 0.9089 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1957, allocations: 0 / 0.9089 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1957, allocations: 0 / 0.9089 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.1957, allocations: 0 / 0.9089 GB, free: 55.65 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001012/0.1967, allocations: 0.7443 MB / 0.9096 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1967, allocations: 8.031 kB / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/0.1993, allocations: 0.6984 MB / 0.9103 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.1999, allocations: 499.7 kB / 0.9108 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1999, allocations: 25.02 kB / 0.9108 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.2, allocations: 36.12 kB / 0.9109 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.2012, allocations: 0.8434 MB / 0.9117 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2013, allocations: 0 / 0.9117 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.2013, allocations: 12 kB / 0.9117 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.2015, allocations: 68.56 kB / 0.9118 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.2032, allocations: 0.939 MB / 0.9127 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004549/0.2077, allocations: 2.929 MB / 0.9155 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.21, allocations: 0.5644 MB / 0.9161 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00099/0.211, allocations: 308.6 kB / 0.9164 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.2111, allocations: 97.03 kB / 0.9165 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2111, allocations: 34.56 kB / 0.9165 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.064e-06/0.2112, allocations: 0 / 0.9165 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.02021/0.2314, allocations: 3.655 MB / 0.9201 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.2314, allocations: 85.11 kB / 0.9202 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000633/0.2321, allocations: 416.4 kB / 0.9206 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.2322, allocations: 33.7 kB / 0.9206 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.2323, allocations: 231.9 kB / 0.9208 GB, free: 43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.2325, allocations: 106.4 kB / 0.9209 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.2326, allocations: 37.7 kB / 0.9209 GB, free: 42.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.2327, allocations: 350.8 kB / 0.9213 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.2342, allocations: 395.7 kB / 0.9217 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.2357, allocations: 489 kB / 0.9221 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.2387, allocations: 0.8699 MB / 0.923 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2388, allocations: 4 kB / 0.923 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.008972/0.2477, allocations: 1.728 MB / 0.9247 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/0.2478, allocations: 148 kB / 0.9248 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.2479, allocations: 0 / 0.9248 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007334/0.2552, allocations: 0.9855 MB / 0.9258 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/0.2562, allocations: 127.8 kB / 0.9259 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.2676, allocations: 6.409 MB / 0.9321 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.2689, allocations: 115.9 kB / 0.9323 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/0.269, allocations: 19.98 kB / 0.9323 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.2691, allocations: 4 kB / 0.9323 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007606/0.2767, allocations: 1.667 MB / 0.9339 GB, free: 28.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2767, allocations: 0 / 0.9339 GB, free: 28.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003706/0.2804, allocations: 0.7174 MB / 0.9346 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.2811, allocations: 139.8 kB / 0.9347 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005175/0.2863, allocations: 5.445 MB / 0.9401 GB, free: 22.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008452/0.2871, allocations: 107.9 kB / 0.9402 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.2872, allocations: 19.98 kB / 0.9402 GB, free: 22.14 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003646/0.2876, allocations: 329 kB / 0.9405 GB, free: 21.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.67e-05/0.2877, allocations: 43.5 kB / 0.9405 GB, free: 21.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/0.2924, allocations: 1.625 MB / 0.9421 GB, free: 20.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2924, allocations: 0 / 0.9421 GB, free: 20.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2924, allocations: 4 kB / 0.9421 GB, free: 20.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2924, allocations: 3.984 kB / 0.9421 GB, free: 20.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005125/0.2976, allocations: 2.326 MB / 0.9444 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2976, allocations: 0 / 0.9444 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.2979, allocations: 87.98 kB / 0.9445 GB, free: 17.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003677/0.3016, allocations: 0.9191 MB / 0.9454 GB, free: 16.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.3017, allocations: 11.98 kB / 0.9454 GB, free: 16.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005674/0.3073, allocations: 6.239 MB / 0.9515 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3074, allocations: 4.031 kB / 0.9515 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/0.3118, allocations: 1.635 MB / 0.9531 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.312, allocations: 176.6 kB / 0.9533 GB, free: 8.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/0.3121, allocations: 11.94 kB / 0.9533 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/0.3127, allocations: 91.86 kB / 0.9534 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.3129, allocations: 35.89 kB / 0.9534 GB, free: 8.047 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.3129, allocations: 15.98 kB / 0.9534 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003101/0.3132, allocations: 307.1 kB / 0.9537 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3132, allocations: 0 / 0.9537 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008267/0.314, allocations: 244 kB / 0.9539 GB, free: 7.492 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001768/0.3142, allocations: 119.2 kB / 0.954 GB, free: 7.363 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003537/0.3178, allocations: 2.252 MB / 0.9562 GB, free: 5.012 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3178, allocations: 0 / 0.9562 GB, free: 5.012 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.319, allocations: 0.8357 MB / 0.9571 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.3196, allocations: 125.8 kB / 0.9572 GB, free: 4.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.3212, allocations: 1.339 MB / 0.9585 GB, free: 2.641 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3215, allocations: 0.918 MB / 0.9594 GB, free: 1.695 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.3217, allocations: 31.42 kB / 0.9594 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.3217, allocations: 7.938 kB / 0.9594 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of Templates: time 0.01618/0.3379, allocations: 15.38 MB / 0.9744 GB, free: 2.301 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)