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.493/1.493, allocations: 252 MB / 267.6 MB, free: 10.9 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.001053/0.001053, allocations: 176.6 kB / 327.3 MB, free: 2.211 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.981/1.981, allocations: 205.4 MB / 0.5783 GB, free: 20.54 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.0009127/0.0009125, allocations: 84.88 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003369, allocations: 9.125 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2153, allocations: 106.3 MB / 0.9008 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.00502/0.2204, allocations: 4.498 MB / 0.9052 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003862/0.2243, allocations: 3.111 MB / 0.9083 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.2247, allocations: 4 kB / 0.9083 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006303/0.2253, allocations: 159.1 kB / 0.9084 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008939/0.2262, allocations: 317.6 kB / 0.9087 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.2269, allocations: 191.5 kB / 0.9089 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008493/0.2277, allocations: 0.7009 MB / 0.9096 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.2288, allocations: 0.7353 MB / 0.9103 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.2292, allocations: 195.2 kB / 0.9105 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.2296, allocations: 255 kB / 0.9107 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.967e-05/0.2297, allocations: 20 kB / 0.9108 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005363/0.2302, allocations: 239.7 kB / 0.911 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2303, allocations: 139.6 kB / 0.9111 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.2304, allocations: 105.5 kB / 0.9112 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006921/0.2311, allocations: 0.7132 MB / 0.9119 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2312, allocations: 4 kB / 0.9119 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2312, allocations: 0 / 0.9119 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.947e-05/0.2312, allocations: 0 / 0.9119 GB, free: 52.84 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.001333/0.2326, allocations: 0.7402 MB / 0.9126 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2326, allocations: 8.031 kB / 0.9126 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.2353, allocations: 0.7014 MB / 0.9133 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00076/0.2361, allocations: 478.6 kB / 0.9138 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.2361, allocations: 28.64 kB / 0.9138 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/0.2362, allocations: 35.89 kB / 0.9139 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.2376, allocations: 0.8396 MB / 0.9147 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2377, allocations: 3.938 kB / 0.9147 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.2377, allocations: 16 kB / 0.9147 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/0.2379, allocations: 68.56 kB / 0.9148 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.2397, allocations: 0.9351 MB / 0.9157 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/0.2432, allocations: 2.929 MB / 0.9185 GB, free: 45.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.2447, allocations: 0.5533 MB / 0.9191 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/0.2453, allocations: 324.3 kB / 0.9194 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.479e-05/0.2454, allocations: 89.25 kB / 0.9195 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.2455, allocations: 34.75 kB / 0.9195 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.484e-06/0.2455, allocations: 4 kB / 0.9195 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.01162/0.2571, allocations: 3.654 MB / 0.9231 GB, free: 41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.2572, allocations: 81.11 kB / 0.9231 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.2576, allocations: 412.4 kB / 0.9235 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.2577, allocations: 29.7 kB / 0.9236 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.2578, allocations: 235.8 kB / 0.9238 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.2579, allocations: 118.4 kB / 0.9239 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.2579, allocations: 4 kB / 0.9239 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.312e-05/0.258, allocations: 354.8 kB / 0.9242 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007937/0.2588, allocations: 395.7 kB / 0.9246 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008476/0.2597, allocations: 492.9 kB / 0.9251 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.2605, allocations: 427.7 kB / 0.9255 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2605, allocations: 7.938 kB / 0.9255 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004957/0.2655, allocations: 1.724 MB / 0.9272 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.631e-05/0.2656, allocations: 144.1 kB / 0.9273 GB, free: 36.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2656, allocations: 7.984 kB / 0.9273 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00409/0.2697, allocations: 0.9776 MB / 0.9283 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.2703, allocations: 131.8 kB / 0.9284 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/0.277, allocations: 6.4 MB / 0.9347 GB, free: 28.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.2778, allocations: 115.8 kB / 0.9348 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.2778, allocations: 19.98 kB / 0.9348 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.2778, allocations: 7.953 kB / 0.9348 GB, free: 28.44 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004341/0.2822, allocations: 1.656 MB / 0.9364 GB, free: 26.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2822, allocations: 0 / 0.9364 GB, free: 26.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002781/0.285, allocations: 0.729 MB / 0.9371 GB, free: 25.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.2855, allocations: 135.8 kB / 0.9373 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004429/0.29, allocations: 5.442 MB / 0.9426 GB, free: 20.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/0.2907, allocations: 107.9 kB / 0.9427 GB, free: 19.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.2907, allocations: 19.95 kB / 0.9427 GB, free: 19.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003399/0.2911, allocations: 329.2 kB / 0.943 GB, free: 19.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/0.2912, allocations: 35.53 kB / 0.943 GB, free: 19.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/0.2957, allocations: 1.633 MB / 0.9446 GB, free: 17.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2957, allocations: 4 kB / 0.9446 GB, free: 17.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2958, allocations: 0 / 0.9446 GB, free: 17.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2958, allocations: 0 / 0.9446 GB, free: 17.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005212/0.301, allocations: 2.315 MB / 0.9469 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.301, allocations: 0 / 0.9469 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.3014, allocations: 95.83 kB / 0.947 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/0.3049, allocations: 0.9115 MB / 0.9479 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.305, allocations: 8 kB / 0.9479 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005964/0.311, allocations: 6.239 MB / 0.954 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.311, allocations: 8.016 kB / 0.954 GB, free: 7.805 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004351/0.3153, allocations: 1.639 MB / 0.9556 GB, free: 6.129 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.3157, allocations: 180.6 kB / 0.9558 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.502e-05/0.3158, allocations: 7.984 kB / 0.9558 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.3164, allocations: 95.86 kB / 0.9559 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.3165, allocations: 31.89 kB / 0.9559 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.3166, allocations: 12 kB / 0.9559 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003656/0.3169, allocations: 311.1 kB / 0.9562 GB, free: 5.484 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3169, allocations: 0 / 0.9562 GB, free: 5.484 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001073/0.318, allocations: 240 kB / 0.9564 GB, free: 5.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002305/0.3183, allocations: 123.1 kB / 0.9566 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003829/0.3221, allocations: 2.252 MB / 0.9588 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3221, allocations: 0 / 0.9588 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.3234, allocations: 0.828 MB / 0.9596 GB, free: 1.898 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.324, allocations: 128.6 kB / 0.9597 GB, free: 1.781 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.3258, allocations: 1.346 MB / 0.961 GB, free: 404 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.3264, allocations: 0.918 MB / 0.9619 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.3265, allocations: 35.42 kB / 0.9619 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of SimCode: time 3.8e-07/0.3266, allocations: 0 / 0.9619 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.02025/0.3468, allocations: 15.41 MB / 0.977 GB, free: 28 kB / 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)