Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.216/2.216, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001426/0.001425, allocations: 182 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.35/2.35, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009565/0.0009564, allocations: 85.55 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004835, allocations: 16.22 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2392, allocations: 106.3 MB / 0.8995 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004262/0.2436, allocations: 2.664 MB / 0.9021 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003775/0.2474, allocations: 1.841 MB / 0.9039 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.2477, allocations: 7.938 kB / 0.9039 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.248, allocations: 31.72 kB / 0.9039 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006179/0.2486, allocations: 143.3 kB / 0.9041 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008434/0.2494, allocations: 171.5 kB / 0.9042 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.25, allocations: 366.8 kB / 0.9046 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007842/0.2508, allocations: 325.9 kB / 0.9049 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.251, allocations: 111.5 kB / 0.905 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.2514, allocations: 139.5 kB / 0.9051 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.2515, allocations: 8 kB / 0.9051 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007066/0.2522, allocations: 255.6 kB / 0.9054 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.2523, allocations: 79.78 kB / 0.9055 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.2524, allocations: 61.64 kB / 0.9055 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.2529, allocations: 355.4 kB / 0.9059 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.2529, allocations: 0 / 0.9059 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2529, allocations: 0 / 0.9059 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.253, allocations: 0 / 0.9059 GB, free: 59.03 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.00098/0.2539, allocations: 0.5262 MB / 0.9064 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.254, allocations: 8.031 kB / 0.9064 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.2552, allocations: 116.5 kB / 0.9065 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.2556, allocations: 252 kB / 0.9067 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.2556, allocations: 16.8 kB / 0.9067 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.2557, allocations: 24.38 kB / 0.9068 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.2564, allocations: 353.1 kB / 0.9071 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2565, allocations: 0 / 0.9071 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.2565, allocations: 8 kB / 0.9071 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/0.2566, allocations: 24.42 kB / 0.9071 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006753/0.2573, allocations: 297.4 kB / 0.9074 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.2601, allocations: 1.733 MB / 0.9091 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/0.2609, allocations: 336.2 kB / 0.9094 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.2611, allocations: 105.7 kB / 0.9095 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.2613, allocations: 85.09 kB / 0.9096 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.2613, allocations: 34.56 kB / 0.9096 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.856e-06/0.2613, allocations: 0 / 0.9096 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.003832/0.2651, allocations: 0.9793 MB / 0.9106 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.2652, allocations: 85.08 kB / 0.9107 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.2655, allocations: 216.3 kB / 0.9109 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.2656, allocations: 29.7 kB / 0.9109 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.2657, allocations: 176.1 kB / 0.9111 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/0.2658, allocations: 66.92 kB / 0.9111 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.2658, allocations: 4 kB / 0.9112 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.248e-05/0.2659, allocations: 338.9 kB / 0.9115 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.2663, allocations: 127.9 kB / 0.9116 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.2666, allocations: 221 kB / 0.9118 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.267, allocations: 161 kB / 0.912 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.267, allocations: 0 / 0.912 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001363/0.2684, allocations: 0.5165 MB / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2685, allocations: 4 kB / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2685, allocations: 4 kB / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007646/0.2693, allocations: 151.4 kB / 0.9126 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.2697, allocations: 59.89 kB / 0.9127 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/0.273, allocations: 3.961 MB / 0.9165 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.2734, allocations: 19.98 kB / 0.9166 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.2735, allocations: 8 kB / 0.9166 GB, free: 47.24 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.0002308/0.2737, allocations: 173.8 kB / 0.9167 GB, free: 47.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.2738, allocations: 19.72 kB / 0.9168 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.2751, allocations: 474.5 kB / 0.9172 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.2751, allocations: 0 / 0.9172 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2751, allocations: 0 / 0.9172 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.2753, allocations: 124.8 kB / 0.9173 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.2754, allocations: 8 kB / 0.9173 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.2757, allocations: 23.91 kB / 0.9174 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.2758, allocations: 27.84 kB / 0.9174 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001493/0.2773, allocations: 0.6202 MB / 0.918 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001088/0.2785, allocations: 0.7285 MB / 0.9187 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002856/0.2788, allocations: 143.8 kB / 0.9188 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001829/0.279, allocations: 157.6 kB / 0.919 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of Backend: time 8.51e-07/0.279, allocations: 0 / 0.919 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.2809, allocations: 0.6286 MB / 0.9196 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001457/0.2824, allocations: 1.109 MB / 0.9207 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.01425/0.2967, allocations: 5.274 MB / 0.9258 GB, free: 37.62 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)