Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.752/1.752, allocations: 288.4 MB / 304.3 MB, free: 8.066 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 176.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 0.6316 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007632/0.0007633, allocations: 104.6 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004204, allocations: 12.03 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2499, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004373/0.2543, allocations: 3.835 MB / 0.9845 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004023/0.2584, allocations: 3.01 MB / 0.9874 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.2588, allocations: 7.938 kB / 0.9874 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.2594, allocations: 167 kB / 0.9876 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009374/0.2604, allocations: 334.4 kB / 0.9879 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.2609, allocations: 191.5 kB / 0.9881 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005874/0.2615, allocations: 0.658 MB / 0.9887 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.2626, allocations: 0.81 MB / 0.9895 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.2629, allocations: 191.2 kB / 0.9897 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.2632, allocations: 231.1 kB / 0.9899 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.2633, allocations: 27.94 kB / 0.99 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006735/0.2639, allocations: 359.4 kB / 0.9903 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.2641, allocations: 139.6 kB / 0.9904 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.2642, allocations: 216.8 kB / 0.9906 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.2648, allocations: 0.6779 MB / 0.9913 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2648, allocations: 0 / 0.9913 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2648, allocations: 0 / 0.9913 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2649, allocations: 0 / 0.9913 GB, free: 16.44 MB / 0.6198 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.001088/0.2659, allocations: 0.7179 MB / 0.992 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.266, allocations: 8.031 kB / 0.992 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002566/0.2686, allocations: 0.6868 MB / 0.9927 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007247/0.2693, allocations: 491.6 kB / 0.9932 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.2694, allocations: 29.02 kB / 0.9932 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.2694, allocations: 32.12 kB / 0.9932 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.2708, allocations: 0.7943 MB / 0.994 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.2708, allocations: 0 / 0.994 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.2709, allocations: 12 kB / 0.994 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.271, allocations: 52.59 kB / 0.9941 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.2727, allocations: 0.8726 MB / 0.9949 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003343/0.2761, allocations: 2.858 MB / 0.9977 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.2776, allocations: 0.5275 MB / 0.9982 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/0.2782, allocations: 264.6 kB / 0.9985 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.131e-05/0.2783, allocations: 89.09 kB / 0.9986 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.2783, allocations: 38.5 kB / 0.9986 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.586e-06/0.2783, allocations: 0 / 0.9986 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.01055/0.2889, allocations: 3.214 MB / 1.002 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.289, allocations: 81.11 kB / 1.002 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.2894, allocations: 425.5 kB / 1.002 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.2895, allocations: 29.7 kB / 1.002 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.2896, allocations: 235.8 kB / 1.002 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.2897, allocations: 94.67 kB / 1.003 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.2897, allocations: 4 kB / 1.003 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.2898, allocations: 346.8 kB / 1.003 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007854/0.2906, allocations: 363.5 kB / 1.003 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008531/0.2915, allocations: 441.3 kB / 1.004 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.293, allocations: 0.7796 MB / 1.004 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2931, allocations: 0 / 1.004 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004565/0.2976, allocations: 1.546 MB / 1.006 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-05/0.2977, allocations: 143.9 kB / 1.006 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.2978, allocations: 4 kB / 1.006 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003621/0.3014, allocations: 0.852 MB / 1.007 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.3021, allocations: 127.7 kB / 1.007 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007138/0.3092, allocations: 4.665 MB / 1.012 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008776/0.3102, allocations: 119.8 kB / 1.012 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.3102, allocations: 12 kB / 1.012 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3103, allocations: 8.062 kB / 1.012 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004204/0.3145, allocations: 1.261 MB / 1.013 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3145, allocations: 4.188 kB / 1.013 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/0.3171, allocations: 0.5508 MB / 1.013 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/0.3177, allocations: 143.8 kB / 1.014 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/0.3215, allocations: 2.506 MB / 1.016 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007982/0.3223, allocations: 115.9 kB / 1.016 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.3224, allocations: 12 kB / 1.016 GB, free: 5.98 MB / 0.6355 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.0004638/0.3228, allocations: 324.9 kB / 1.016 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/0.3229, allocations: 31.62 kB / 1.017 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004628/0.3276, allocations: 1.426 MB / 1.018 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3276, allocations: 0 / 1.018 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3276, allocations: 0 / 1.018 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.3279, allocations: 180.5 kB / 1.018 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.328, allocations: 7.938 kB / 1.018 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/0.3286, allocations: 95.84 kB / 1.018 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.3287, allocations: 27.95 kB / 1.018 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003488/0.3322, allocations: 1.255 MB / 1.019 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002346/0.3346, allocations: 1.182 MB / 1.021 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007356/0.3353, allocations: 327.7 kB / 1.021 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004066/0.3358, allocations: 315.1 kB / 1.021 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of Backend: time 8.11e-07/0.3358, allocations: 0 / 1.021 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004086/0.3399, allocations: 1.576 MB / 1.023 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of SimCode: time 0.002046/0.3419, allocations: 1.589 MB / 1.024 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of Templates: time 0.02339/0.3654, allocations: 14.67 MB / 1.039 GB, free: 14.9 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)