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.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 252 MB / 267.6 MB, free: 10.98 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.001019/0.001019, allocations: 181.7 kB / 327.3 MB, free: 2.23 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.89/1.89, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.001046/0.001046, allocations: 91.97 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003167, allocations: 14.62 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2197, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.00464/0.2244, allocations: 4.556 MB / 0.9053 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004133/0.2286, allocations: 3.513 MB / 0.9087 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.2289, allocations: 15.88 kB / 0.9087 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.2296, allocations: 206.8 kB / 0.9089 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008692/0.2304, allocations: 371.6 kB / 0.9093 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.231, allocations: 187.6 kB / 0.9095 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007449/0.2317, allocations: 0.7554 MB / 0.9102 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008957/0.2327, allocations: 0.7473 MB / 0.9109 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.2328, allocations: 195.2 kB / 0.9111 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.2331, allocations: 259 kB / 0.9114 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.2332, allocations: 20 kB / 0.9114 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000557/0.2338, allocations: 327.6 kB / 0.9117 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2339, allocations: 147.5 kB / 0.9118 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.2339, allocations: 105.5 kB / 0.9119 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.2345, allocations: 0.7678 MB / 0.9127 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2345, allocations: 4 kB / 0.9127 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2345, allocations: 0 / 0.9127 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2345, allocations: 0 / 0.9127 GB, free: 52.07 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.001132/0.2357, allocations: 0.7518 MB / 0.9134 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2357, allocations: 12.03 kB / 0.9134 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/0.2384, allocations: 0.7092 MB / 0.9141 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008873/0.2393, allocations: 0.5305 MB / 0.9146 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2393, allocations: 24.64 kB / 0.9147 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.2394, allocations: 35.86 kB / 0.9147 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.2408, allocations: 0.8512 MB / 0.9155 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.2408, allocations: 3.938 kB / 0.9155 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.2409, allocations: 12 kB / 0.9156 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/0.241, allocations: 68.56 kB / 0.9156 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.2428, allocations: 0.939 MB / 0.9165 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.2461, allocations: 2.953 MB / 0.9194 GB, free: 44.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.2476, allocations: 0.5689 MB / 0.92 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006523/0.2482, allocations: 316.9 kB / 0.9203 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.723e-05/0.2483, allocations: 93.23 kB / 0.9204 GB, free: 43.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2484, allocations: 38.75 kB / 0.9204 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.2484, allocations: 0 / 0.9204 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.01314/0.2615, allocations: 4.072 MB / 0.9244 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.2616, allocations: 81.11 kB / 0.9245 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/0.262, allocations: 457.5 kB / 0.9249 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.2621, allocations: 33.7 kB / 0.9249 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.2622, allocations: 244.1 kB / 0.9252 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.361e-05/0.2623, allocations: 118.2 kB / 0.9253 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.2624, allocations: 16 kB / 0.9253 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.2624, allocations: 350.8 kB / 0.9256 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008568/0.2633, allocations: 444.4 kB / 0.926 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000872/0.2642, allocations: 0.5251 MB / 0.9266 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/0.2651, allocations: 478 kB / 0.927 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2651, allocations: 3.938 kB / 0.927 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005546/0.2707, allocations: 1.928 MB / 0.9289 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/0.2708, allocations: 155 kB / 0.929 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2708, allocations: 4 kB / 0.9291 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004569/0.2753, allocations: 1.098 MB / 0.9301 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.2759, allocations: 131.8 kB / 0.9302 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008477/0.2844, allocations: 6.378 MB / 0.9365 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008265/0.2853, allocations: 119.8 kB / 0.9366 GB, free: 26.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.2853, allocations: 19.94 kB / 0.9366 GB, free: 26.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.2853, allocations: 4 kB / 0.9366 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004547/0.2899, allocations: 1.64 MB / 0.9382 GB, free: 25.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2899, allocations: 192 / 0.9382 GB, free: 25.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003158/0.2931, allocations: 0.8013 MB / 0.939 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.2937, allocations: 143.8 kB / 0.9391 GB, free: 24.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006418/0.3001, allocations: 5.562 MB / 0.9446 GB, free: 18.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008219/0.3009, allocations: 107.9 kB / 0.9447 GB, free: 18.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.301, allocations: 23.98 kB / 0.9447 GB, free: 18.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003879/0.3014, allocations: 336.9 kB / 0.945 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.3015, allocations: 39.53 kB / 0.9451 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005067/0.3066, allocations: 1.829 MB / 0.9468 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3066, allocations: 4 kB / 0.9468 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3066, allocations: 3.938 kB / 0.9468 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.3066, allocations: 0 / 0.9468 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005649/0.3123, allocations: 2.577 MB / 0.9494 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3123, allocations: 0 / 0.9494 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.3127, allocations: 83.83 kB / 0.9494 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003987/0.3167, allocations: 1.024 MB / 0.9504 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.3167, allocations: 8 kB / 0.9504 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007558/0.3243, allocations: 6.063 MB / 0.9564 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3243, allocations: 4.031 kB / 0.9564 GB, free: 5.875 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004868/0.3292, allocations: 1.79 MB / 0.9581 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.3295, allocations: 196.6 kB / 0.9583 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3296, allocations: 7.984 kB / 0.9583 GB, free: 3.832 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006322/0.3303, allocations: 96.52 kB / 0.9584 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.3304, allocations: 47.77 kB / 0.9585 GB, free: 3.691 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.3305, allocations: 15.98 kB / 0.9585 GB, free: 3.676 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003663/0.3308, allocations: 335.1 kB / 0.9588 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3308, allocations: 0 / 0.9588 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001064/0.3319, allocations: 288 kB / 0.9591 GB, free: 3.066 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002961/0.3322, allocations: 159.1 kB / 0.9592 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00584/0.3381, allocations: 2.532 MB / 0.9617 GB, free: 320 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.3381, allocations: 4 kB / 0.9617 GB, free: 316 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002561/0.3407, allocations: 0.9851 MB / 0.9627 GB, free: 15.3 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008472/0.3415, allocations: 121.2 kB / 0.9628 GB, free: 15.18 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.3442, allocations: 1.46 MB / 0.9642 GB, free: 13.68 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.3448, allocations: 0.9375 MB / 0.9651 GB, free: 12.71 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.345, allocations: 43.41 kB / 0.9652 GB, free: 12.66 MB / 0.6199 GB Notification: Performance of SimCode: time 1.051e-06/0.345, allocations: 0 / 0.9652 GB, free: 12.66 MB / 0.6199 GB Notification: Performance of Templates: time 0.0194/0.3644, allocations: 14.5 MB / 0.9793 GB, free: 14.2 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)