Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.285/2.285, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001643/0.001642, allocations: 184.3 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.945/2.945, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 92.67 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004675, allocations: 12.58 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2227, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005947/0.2287, allocations: 2.614 MB / 0.9014 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005237/0.234, allocations: 1.803 MB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.2343, allocations: 7.938 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.2346, allocations: 35.77 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007939/0.2354, allocations: 127.6 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.2365, allocations: 171.5 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.2371, allocations: 183.6 kB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009827/0.2381, allocations: 309.9 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.2384, allocations: 99.67 kB / 0.9041 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.2388, allocations: 99.59 kB / 0.9042 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.2388, allocations: 12 kB / 0.9042 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009133/0.2398, allocations: 247.6 kB / 0.9044 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.2399, allocations: 63.81 kB / 0.9045 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.256e-05/0.24, allocations: 73.56 kB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008726/0.2409, allocations: 343.5 kB / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.241, allocations: 0 / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/0.241, allocations: 0 / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.241, allocations: 0 / 0.9049 GB, free: 59.27 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00125/0.2423, allocations: 0.5377 MB / 0.9054 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.2423, allocations: 8.031 kB / 0.9054 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.2445, allocations: 123.6 kB / 0.9055 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.2451, allocations: 252.7 kB / 0.9058 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/0.2452, allocations: 16.42 kB / 0.9058 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.602e-05/0.2453, allocations: 20 kB / 0.9058 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.2465, allocations: 349.1 kB / 0.9061 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.2466, allocations: 3.984 kB / 0.9061 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.098e-05/0.2466, allocations: 8 kB / 0.9062 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.02e-05/0.2467, allocations: 28.38 kB / 0.9062 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.2478, allocations: 293.5 kB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003879/0.2517, allocations: 1.737 MB / 0.9082 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009967/0.2527, allocations: 325.2 kB / 0.9085 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.2529, allocations: 93.08 kB / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.253, allocations: 38.56 kB / 0.9086 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 3.396e-06/0.253, allocations: 0 / 0.9086 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.005423/0.2585, allocations: 0.9732 MB / 0.9095 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.2586, allocations: 85.23 kB / 0.9096 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.259, allocations: 212.3 kB / 0.9098 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/0.259, allocations: 33.7 kB / 0.9099 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.2592, allocations: 168.2 kB / 0.91 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.2593, allocations: 78.91 kB / 0.9101 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.2593, allocations: 4 kB / 0.9101 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.2595, allocations: 338.8 kB / 0.9104 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.2599, allocations: 131.9 kB / 0.9105 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.2604, allocations: 209 kB / 0.9107 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.261, allocations: 164.5 kB / 0.9109 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.261, allocations: 0 / 0.9109 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001927/0.263, allocations: 0.5102 MB / 0.9114 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.2631, allocations: 14.14 kB / 0.9114 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.2631, allocations: 0 / 0.9114 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.2642, allocations: 151.6 kB / 0.9116 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.2649, allocations: 59.89 kB / 0.9116 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004632/0.2696, allocations: 3.985 MB / 0.9155 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.2702, allocations: 20.33 kB / 0.9155 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.2702, allocations: 15.98 kB / 0.9155 GB, free: 47.55 MB / 0.6042 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.0002976/0.2706, allocations: 161.7 kB / 0.9157 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.2707, allocations: 23.72 kB / 0.9157 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.2725, allocations: 474.5 kB / 0.9162 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.2726, allocations: 4 kB / 0.9162 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.2726, allocations: 0 / 0.9162 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2726, allocations: 0 / 0.9162 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.2759, allocations: 1.027 MB / 0.9172 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.276, allocations: 4 kB / 0.9172 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.2764, allocations: 27.98 kB / 0.9172 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009831/0.2774, allocations: 143.3 kB / 0.9173 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.2774, allocations: 8 kB / 0.9174 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004273/0.2817, allocations: 3.973 MB / 0.9212 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.2818, allocations: 4.031 kB / 0.9212 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.2835, allocations: 0.739 MB / 0.922 GB, free: 40.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.2838, allocations: 128.7 kB / 0.9221 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.2839, allocations: 8 kB / 0.9221 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005496/0.2845, allocations: 27.97 kB / 0.9221 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2846, allocations: 19.94 kB / 0.9221 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.2846, allocations: 11.98 kB / 0.9221 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002794/0.2849, allocations: 157.5 kB / 0.9223 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.42e-07/0.2849, allocations: 0 / 0.9223 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001125/0.2861, allocations: 88 kB / 0.9224 GB, free: 39.97 MB / 0.6042 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.0003199/0.2864, allocations: 131.2 kB / 0.9225 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.2882, allocations: 0.5714 MB / 0.9231 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.2883, allocations: 0 / 0.9231 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.2893, allocations: 397.1 kB / 0.9234 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.2902, allocations: 34.86 kB / 0.9235 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.2921, allocations: 0.724 MB / 0.9242 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.2926, allocations: 0.791 MB / 0.925 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004915/0.2931, allocations: 58.25 kB / 0.925 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.2932, allocations: 19.44 kB / 0.925 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of SimCode: time 1.312e-06/0.2933, allocations: 0 / 0.925 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.01503/0.3083, allocations: 3.886 MB / 0.9288 GB, free: 33.26 MB / 0.6042 GB