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.414/1.414, allocations: 252 MB / 267.6 MB, free: 10.92 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.001154/0.001154, allocations: 182.3 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.881/1.881, allocations: 205.4 MB / 0.5783 GB, free: 20.5 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.0007901/0.0007901, allocations: 89.94 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003286, allocations: 9.844 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2034, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.00382/0.2073, allocations: 3.843 MB / 0.9046 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003338/0.2107, allocations: 3.026 MB / 0.9075 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.2109, allocations: 7.938 kB / 0.9076 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004622/0.2114, allocations: 159.1 kB / 0.9077 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000648/0.212, allocations: 312.9 kB / 0.908 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.2125, allocations: 171.6 kB / 0.9082 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.2129, allocations: 0.6579 MB / 0.9088 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008481/0.2138, allocations: 0.7314 MB / 0.9095 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.214, allocations: 183.2 kB / 0.9097 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.2143, allocations: 243.1 kB / 0.9099 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.2143, allocations: 16 kB / 0.9099 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.2147, allocations: 227.7 kB / 0.9102 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.2148, allocations: 135.6 kB / 0.9103 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.2149, allocations: 109.5 kB / 0.9104 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004624/0.2153, allocations: 0.6665 MB / 0.911 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2154, allocations: 0 / 0.911 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2154, allocations: 0 / 0.911 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2154, allocations: 0 / 0.911 GB, free: 53.76 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.0009427/0.2163, allocations: 0.731 MB / 0.9118 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.2164, allocations: 8.031 kB / 0.9118 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.2188, allocations: 0.6858 MB / 0.9124 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.2194, allocations: 478.6 kB / 0.9129 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.2195, allocations: 24.64 kB / 0.9129 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.2195, allocations: 28 kB / 0.9129 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.2208, allocations: 0.7942 MB / 0.9137 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.2208, allocations: 0 / 0.9137 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.2209, allocations: 12 kB / 0.9137 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.221, allocations: 52.59 kB / 0.9138 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.2226, allocations: 0.8843 MB / 0.9146 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.2256, allocations: 2.851 MB / 0.9174 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.227, allocations: 0.5175 MB / 0.9179 GB, free: 46.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/0.2276, allocations: 264.6 kB / 0.9182 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.669e-05/0.2276, allocations: 93.06 kB / 0.9183 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.2277, allocations: 34.55 kB / 0.9183 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.2277, allocations: 0 / 0.9183 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.01019/0.2379, allocations: 3.218 MB / 0.9215 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2379, allocations: 77.11 kB / 0.9215 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.2383, allocations: 417.6 kB / 0.9219 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.2383, allocations: 33.7 kB / 0.922 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2384, allocations: 239.8 kB / 0.9222 GB, free: 41.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.2385, allocations: 86.83 kB / 0.9223 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.2385, allocations: 8 kB / 0.9223 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.2386, allocations: 342.8 kB / 0.9226 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007543/0.2394, allocations: 371.5 kB / 0.923 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007652/0.2401, allocations: 437.3 kB / 0.9234 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007865/0.2409, allocations: 388.8 kB / 0.9237 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.241, allocations: 0 / 0.9237 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00447/0.2454, allocations: 1.545 MB / 0.9253 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.2455, allocations: 148 kB / 0.9254 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2455, allocations: 4 kB / 0.9254 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003586/0.2491, allocations: 0.8558 MB / 0.9262 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/0.2496, allocations: 127.8 kB / 0.9264 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005264/0.2549, allocations: 4.668 MB / 0.9309 GB, free: 32.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.2556, allocations: 119.9 kB / 0.931 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.2557, allocations: 15.98 kB / 0.931 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.2557, allocations: 4 kB / 0.931 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003684/0.2594, allocations: 1.253 MB / 0.9323 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2594, allocations: 7.953 kB / 0.9323 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/0.2617, allocations: 0.5549 MB / 0.9328 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.2623, allocations: 147.8 kB / 0.933 GB, free: 30.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/0.2651, allocations: 2.494 MB / 0.9354 GB, free: 27.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/0.2658, allocations: 111.9 kB / 0.9355 GB, free: 27.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.2659, allocations: 15.98 kB / 0.9355 GB, free: 27.74 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%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002965/0.2662, allocations: 321 kB / 0.9358 GB, free: 27.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.2663, allocations: 39.48 kB / 0.9359 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004223/0.2705, allocations: 1.423 MB / 0.9373 GB, free: 25.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2705, allocations: 4 kB / 0.9373 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2705, allocations: 3.938 kB / 0.9373 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2705, allocations: 7.984 kB / 0.9373 GB, free: 25.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.2752, allocations: 2.09 MB / 0.9393 GB, free: 23.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2753, allocations: 4.125 kB / 0.9393 GB, free: 23.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.2756, allocations: 84 kB / 0.9394 GB, free: 23.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003208/0.2788, allocations: 0.7934 MB / 0.9402 GB, free: 22.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.2789, allocations: 8 kB / 0.9402 GB, free: 22.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/0.2834, allocations: 4.481 MB / 0.9446 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2834, allocations: 7.875 kB / 0.9446 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003914/0.2873, allocations: 1.441 MB / 0.946 GB, free: 16.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.2875, allocations: 172.7 kB / 0.9461 GB, free: 16.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.2876, allocations: 8 kB / 0.9461 GB, free: 16.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.2881, allocations: 95.84 kB / 0.9462 GB, free: 16.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.2882, allocations: 31.86 kB / 0.9463 GB, free: 16.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.2883, allocations: 11.98 kB / 0.9463 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000288/0.2886, allocations: 307.1 kB / 0.9466 GB, free: 16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2886, allocations: 0 / 0.9466 GB, free: 16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007035/0.2893, allocations: 204 kB / 0.9468 GB, free: 15.8 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%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000156/0.2894, allocations: 118 kB / 0.9469 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002937/0.2924, allocations: 1.621 MB / 0.9485 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2924, allocations: 0 / 0.9485 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.2935, allocations: 0.6721 MB / 0.9491 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.2941, allocations: 125.3 kB / 0.9492 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.2956, allocations: 1.242 MB / 0.9504 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.2958, allocations: 0.9132 MB / 0.9513 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.296, allocations: 39.41 kB / 0.9514 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.296, allocations: 0 / 0.9514 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.01141/0.3074, allocations: 12.59 MB / 0.9637 GB, free: 14.38 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)