Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.812/1.812, allocations: 288.4 MB / 303.6 MB, free: 8.062 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.001018/0.001018, allocations: 183.2 kB / 372.3 MB, free: 10.13 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.767/1.767, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0007525/0.0007525, allocations: 92.8 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.0004532, allocations: 15.12 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2526, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003076/0.2557, allocations: 2.653 MB / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.2581, allocations: 1.806 MB / 0.9845 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.2582, allocations: 7.938 kB / 0.9845 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.2584, allocations: 35.7 kB / 0.9845 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.2588, allocations: 175.3 kB / 0.9847 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.2593, allocations: 195.5 kB / 0.9849 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.2596, allocations: 370.8 kB / 0.9852 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005345/0.2601, allocations: 328.3 kB / 0.9855 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.2603, allocations: 119.5 kB / 0.9857 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.2605, allocations: 127.6 kB / 0.9858 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.2606, allocations: 8 kB / 0.9858 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.2611, allocations: 455.1 kB / 0.9862 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.2612, allocations: 75.78 kB / 0.9863 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.478e-05/0.2613, allocations: 133.2 kB / 0.9864 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.2616, allocations: 359.1 kB / 0.9868 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2616, allocations: 3.984 kB / 0.9868 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2616, allocations: 4 kB / 0.9868 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2616, allocations: 0 / 0.9868 GB, free: 20.5 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006773/0.2623, allocations: 0.5153 MB / 0.9873 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2624, allocations: 8.031 kB / 0.9873 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/0.2631, allocations: 112.5 kB / 0.9874 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.2634, allocations: 267.8 kB / 0.9876 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2634, allocations: 8.812 kB / 0.9876 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.2634, allocations: 24.36 kB / 0.9877 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.2639, allocations: 353.2 kB / 0.988 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2639, allocations: 0 / 0.988 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.2639, allocations: 7.984 kB / 0.988 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.264, allocations: 32.42 kB / 0.988 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.2644, allocations: 293.4 kB / 0.9883 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.2661, allocations: 1.733 MB / 0.99 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.2665, allocations: 330.1 kB / 0.9903 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.2666, allocations: 105.6 kB / 0.9904 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.219e-05/0.2667, allocations: 89.38 kB / 0.9905 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2667, allocations: 38.56 kB / 0.9906 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2667, allocations: 0 / 0.9906 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002164/0.2689, allocations: 0.9801 MB / 0.9915 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.269, allocations: 85.05 kB / 0.9916 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.2691, allocations: 208.5 kB / 0.9918 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.2692, allocations: 29.7 kB / 0.9918 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.2693, allocations: 176.1 kB / 0.992 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.2693, allocations: 78.84 kB / 0.9921 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.2694, allocations: 8 kB / 0.9921 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.2695, allocations: 330.8 kB / 0.9924 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.2696, allocations: 127.9 kB / 0.9925 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.2698, allocations: 217.1 kB / 0.9927 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.2702, allocations: 363 kB / 0.9931 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2702, allocations: 0 / 0.9931 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006948/0.2709, allocations: 0.5081 MB / 0.9936 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.271, allocations: 4 kB / 0.9936 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.271, allocations: 4 kB / 0.9936 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000472/0.2715, allocations: 147.6 kB / 0.9937 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.2717, allocations: 63.91 kB / 0.9938 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.2739, allocations: 3.957 MB / 0.9976 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.2741, allocations: 20.17 kB / 0.9977 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.2741, allocations: 23.98 kB / 0.9977 GB, free: 8.484 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.2742, allocations: 165.8 kB / 0.9978 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.2743, allocations: 15.81 kB / 0.9979 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/0.275, allocations: 482.3 kB / 0.9983 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.275, allocations: 4 kB / 0.9983 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2751, allocations: 96 / 0.9983 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2751, allocations: 11.88 kB / 0.9983 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.2763, allocations: 0.9937 MB / 0.9993 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2763, allocations: 8.062 kB / 0.9993 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.2765, allocations: 31.98 kB / 0.9993 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003499/0.2768, allocations: 147.2 kB / 0.9995 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.2768, allocations: 12 kB / 0.9995 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.2788, allocations: 3.95 MB / 1.003 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2788, allocations: 7.969 kB / 1.003 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.2794, allocations: 0.622 MB / 1.004 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.2795, allocations: 132.7 kB / 1.004 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.2796, allocations: 12 kB / 1.004 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.2798, allocations: 11.98 kB / 1.004 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.2798, allocations: 27.91 kB / 1.004 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.2798, allocations: 12 kB / 1.004 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001146/0.28, allocations: 160.1 kB / 1.004 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.28, allocations: 0 / 1.004 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004575/0.2804, allocations: 88 kB / 1.004 GB, free: 1.094 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002246/0.2807, allocations: 139.1 kB / 1.005 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000753/0.2814, allocations: 0.5638 MB / 1.005 GB, free: 368 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2814, allocations: 0 / 1.005 GB, free: 368 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.2819, allocations: 406.1 kB / 1.005 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.2824, allocations: 51.75 kB / 1.006 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.2834, allocations: 0.7138 MB / 1.006 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.2838, allocations: 0.7792 MB / 1.007 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.284, allocations: 54.25 kB / 1.007 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.2841, allocations: 23.42 kB / 1.007 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.2841, allocations: 0 / 1.007 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.007343/0.2914, allocations: 3.908 MB / 1.011 GB, free: 10.36 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)