Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.752/1.752, allocations: 287.4 MB / 303.2 MB, free: 8.184 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.001069/0.001068, allocations: 182.8 kB / 371.8 MB, free: 10.84 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.91/1.91, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0008563/0.0008563, allocations: 94.34 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005824/0.0005825, allocations: 11.83 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.237, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003968/0.241, allocations: 3.831 MB / 0.983 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003998/0.245, allocations: 3.014 MB / 0.986 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.2453, allocations: 7.938 kB / 0.986 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.2459, allocations: 159.1 kB / 0.9861 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.247, allocations: 312.6 kB / 0.9864 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.2477, allocations: 175.6 kB / 0.9866 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006824/0.2484, allocations: 0.6657 MB / 0.9872 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.2495, allocations: 0.81 MB / 0.988 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.2497, allocations: 183.2 kB / 0.9882 GB, free: 19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.25, allocations: 239.1 kB / 0.9884 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.2501, allocations: 20 kB / 0.9885 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.2506, allocations: 235.7 kB / 0.9887 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.2507, allocations: 135.6 kB / 0.9888 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.2507, allocations: 105.5 kB / 0.9889 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.2513, allocations: 0.678 MB / 0.9896 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.2513, allocations: 3.938 kB / 0.9896 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2513, allocations: 0 / 0.9896 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.2513, allocations: 0 / 0.9896 GB, free: 17.59 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.00108/0.2524, allocations: 0.709 MB / 0.9903 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.2524, allocations: 8.031 kB / 0.9903 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002471/0.2549, allocations: 0.6907 MB / 0.991 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/0.2556, allocations: 487.6 kB / 0.9914 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.2556, allocations: 25.03 kB / 0.9914 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.834e-05/0.2557, allocations: 32.12 kB / 0.9915 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.257, allocations: 0.7865 MB / 0.9922 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.257, allocations: 4 kB / 0.9922 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.257, allocations: 12 kB / 0.9923 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.2572, allocations: 48.59 kB / 0.9923 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.2588, allocations: 0.8804 MB / 0.9932 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.2619, allocations: 2.855 MB / 0.996 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.2633, allocations: 0.5253 MB / 0.9965 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.2639, allocations: 268.6 kB / 0.9967 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.014e-05/0.264, allocations: 89.08 kB / 0.9968 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.264, allocations: 38.56 kB / 0.9968 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.835e-06/0.264, allocations: 0 / 0.9968 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.01003/0.2741, allocations: 3.209 MB / 1 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.2741, allocations: 81.11 kB / 1 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.2746, allocations: 421.5 kB / 1 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.2746, allocations: 29.7 kB / 1 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2747, allocations: 239.9 kB / 1.001 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.2748, allocations: 82.75 kB / 1.001 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.2748, allocations: 8 kB / 1.001 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.2749, allocations: 346.8 kB / 1.001 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000743/0.2756, allocations: 363.5 kB / 1.001 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007465/0.2764, allocations: 445.1 kB / 1.002 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.2778, allocations: 0.7787 MB / 1.003 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2778, allocations: 0 / 1.003 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004328/0.2822, allocations: 1.545 MB / 1.004 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.2822, allocations: 144 kB / 1.004 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.2823, allocations: 8 kB / 1.004 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003357/0.2856, allocations: 0.852 MB / 1.005 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/0.2862, allocations: 127.8 kB / 1.005 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006338/0.2926, allocations: 4.683 MB / 1.01 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/0.2933, allocations: 115.8 kB / 1.01 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.2934, allocations: 15.98 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.2934, allocations: 4 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004038/0.2975, allocations: 1.261 MB / 1.011 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2975, allocations: 0 / 1.011 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/0.3, allocations: 0.551 MB / 1.012 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.3006, allocations: 147.8 kB / 1.012 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.304, allocations: 2.502 MB / 1.014 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007366/0.3048, allocations: 119.9 kB / 1.014 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.3049, allocations: 12 kB / 1.014 GB, free: 7.129 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.0004608/0.3053, allocations: 320.9 kB / 1.015 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.3054, allocations: 31.62 kB / 1.015 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/0.31, allocations: 1.424 MB / 1.016 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.31, allocations: 0 / 1.016 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.31, allocations: 0 / 1.016 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.3103, allocations: 176.7 kB / 1.016 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.3104, allocations: 11.94 kB / 1.016 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/0.311, allocations: 91.84 kB / 1.016 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.3111, allocations: 35.94 kB / 1.016 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003372/0.3145, allocations: 1.24 MB / 1.018 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002217/0.3167, allocations: 1.178 MB / 1.019 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006959/0.3174, allocations: 343.7 kB / 1.019 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003883/0.3178, allocations: 311.1 kB / 1.019 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of Backend: time 2.725e-06/0.3178, allocations: 0 / 1.019 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003699/0.3216, allocations: 1.523 MB / 1.021 GB, free: 356 kB / 0.6355 GB Notification: Performance of SimCode: time 0.002278/0.3239, allocations: 1.583 MB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of Templates: time 0.02224/0.3461, allocations: 14.58 MB / 1.037 GB, free: 212 kB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)