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.406/1.406, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009591/0.0009591, allocations: 181.2 kB / 326.5 MB, free: 2.668 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.564/1.564, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0008099/0.0008101, allocations: 88.98 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 8.062 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1903, allocations: 105.4 MB / 0.8967 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003975/0.1943, allocations: 4.06 MB / 0.9007 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003652/0.198, allocations: 3.265 MB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.1982, allocations: 11.94 kB / 0.9039 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.1994, allocations: 490.2 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007042/0.2001, allocations: 352.8 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.2006, allocations: 223.6 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.2012, allocations: 0.8034 MB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005712/0.2018, allocations: 489.1 kB / 0.9062 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.202, allocations: 195.2 kB / 0.9064 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.2023, allocations: 251 kB / 0.9066 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.2024, allocations: 16 kB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.2029, allocations: 387.3 kB / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.203, allocations: 131.6 kB / 0.9071 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.2032, allocations: 206.8 kB / 0.9073 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.2038, allocations: 0.6741 MB / 0.908 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2038, allocations: 0 / 0.908 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2038, allocations: 0 / 0.908 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2038, allocations: 0 / 0.908 GB, free: 56.57 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.001037/0.2048, allocations: 0.713 MB / 0.9087 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2049, allocations: 12.03 kB / 0.9087 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.2074, allocations: 0.6945 MB / 0.9094 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.208, allocations: 479.7 kB / 0.9098 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.208, allocations: 24.97 kB / 0.9098 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.2081, allocations: 32.12 kB / 0.9099 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.2094, allocations: 0.8021 MB / 0.9107 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.2094, allocations: 0 / 0.9107 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.2094, allocations: 12 kB / 0.9107 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.2096, allocations: 52.59 kB / 0.9107 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.2112, allocations: 0.8804 MB / 0.9116 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003017/0.2143, allocations: 2.855 MB / 0.9144 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.2157, allocations: 0.5175 MB / 0.9149 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.2163, allocations: 276.5 kB / 0.9151 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.637e-05/0.2164, allocations: 93.06 kB / 0.9152 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.2164, allocations: 30.56 kB / 0.9152 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.2165, allocations: 4 kB / 0.9153 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.01048/0.2269, allocations: 3.215 MB / 0.9184 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.227, allocations: 81.11 kB / 0.9185 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.2274, allocations: 421.6 kB / 0.9189 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.2275, allocations: 29.7 kB / 0.9189 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.2276, allocations: 239.8 kB / 0.9191 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.2276, allocations: 86.75 kB / 0.9192 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.2277, allocations: 29.7 kB / 0.9192 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.2278, allocations: 342.8 kB / 0.9196 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007581/0.2285, allocations: 367.5 kB / 0.9199 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007771/0.2293, allocations: 445.3 kB / 0.9203 GB, free: 43.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.2309, allocations: 0.7843 MB / 0.9211 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2309, allocations: 0 / 0.9211 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004525/0.2354, allocations: 1.542 MB / 0.9226 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-05/0.2355, allocations: 155.8 kB / 0.9228 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2355, allocations: 4 kB / 0.9228 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003622/0.2392, allocations: 0.8481 MB / 0.9236 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/0.2397, allocations: 127.8 kB / 0.9237 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005411/0.2451, allocations: 4.678 MB / 0.9283 GB, free: 34.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007299/0.2459, allocations: 115.8 kB / 0.9284 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.2459, allocations: 19.98 kB / 0.9284 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.2459, allocations: 4 kB / 0.9284 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003739/0.2497, allocations: 1.265 MB / 0.9297 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2497, allocations: 192 / 0.9297 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.252, allocations: 0.5508 MB / 0.9302 GB, free: 32.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.2526, allocations: 147.8 kB / 0.9303 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/0.2564, allocations: 2.748 MB / 0.933 GB, free: 29.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006942/0.2571, allocations: 107.8 kB / 0.9331 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.2572, allocations: 19.98 kB / 0.9331 GB, free: 29.81 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.0003338/0.2575, allocations: 320.9 kB / 0.9334 GB, free: 29.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.2576, allocations: 39.61 kB / 0.9335 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.2619, allocations: 1.419 MB / 0.9349 GB, free: 28.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2619, allocations: 4 kB / 0.9349 GB, free: 28.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.262, allocations: 3.984 kB / 0.9349 GB, free: 28.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.262, allocations: 3.938 kB / 0.9349 GB, free: 28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/0.2669, allocations: 2.079 MB / 0.9369 GB, free: 25.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2669, allocations: 3.938 kB / 0.9369 GB, free: 25.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.2672, allocations: 87.94 kB / 0.937 GB, free: 25.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0033/0.2706, allocations: 0.7973 MB / 0.9378 GB, free: 24.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.2706, allocations: 8 kB / 0.9378 GB, free: 24.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004838/0.2755, allocations: 4.489 MB / 0.9422 GB, free: 20.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2755, allocations: 0 / 0.9422 GB, free: 20.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/0.2796, allocations: 1.441 MB / 0.9436 GB, free: 18.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.2798, allocations: 172.6 kB / 0.9437 GB, free: 18.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.2799, allocations: 3.938 kB / 0.9437 GB, free: 18.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.2805, allocations: 95.84 kB / 0.9438 GB, free: 18.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.2806, allocations: 27.97 kB / 0.9439 GB, free: 18.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.2807, allocations: 12 kB / 0.9439 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003402/0.281, allocations: 311.1 kB / 0.9442 GB, free: 18.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.281, allocations: 0 / 0.9442 GB, free: 18.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008151/0.2819, allocations: 200 kB / 0.9444 GB, free: 17.89 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.0001822/0.2821, allocations: 119.3 kB / 0.9445 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003846/0.2859, allocations: 1.796 MB / 0.9462 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2859, allocations: 4.125 kB / 0.9462 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.287, allocations: 0.6612 MB / 0.9469 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.2877, allocations: 128.6 kB / 0.947 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.2894, allocations: 1.235 MB / 0.9482 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.2898, allocations: 0.9016 MB / 0.9491 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.29, allocations: 39.41 kB / 0.9491 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of SimCode: time 6.32e-07/0.29, allocations: 0 / 0.9491 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.0137/0.3037, allocations: 12.58 MB / 0.9614 GB, free: 340 kB / 0.6042 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)