Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.707/2.707, allocations: 287.3 MB / 302.3 MB, free: 8.246 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.001598/0.001598, allocations: 192.8 kB / 370.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 2.338/2.338, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001181/0.00118, allocations: 89.28 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004905, allocations: 12.23 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2318, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003921/0.2357, allocations: 2.61 MB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003476/0.2393, allocations: 1.791 MB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.2395, allocations: 7.938 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.2397, allocations: 39.75 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005717/0.2403, allocations: 123.6 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.2416, allocations: 179.5 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006164/0.2423, allocations: 175.6 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.2435, allocations: 330.1 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.2439, allocations: 91.69 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.2443, allocations: 91.61 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.982e-05/0.2444, allocations: 16 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.2456, allocations: 247.6 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.2459, allocations: 63.81 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.246, allocations: 69.58 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.2471, allocations: 359.1 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2472, allocations: 0 / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.218e-06/0.2472, allocations: 3.938 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.2472, allocations: 0 / 0.9842 GB, free: 22.19 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.001683/0.2489, allocations: 0.5184 MB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.249, allocations: 12.02 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.2513, allocations: 123.5 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007655/0.2521, allocations: 258.5 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.2522, allocations: 16.44 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.557e-05/0.2523, allocations: 16 kB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.2536, allocations: 353.1 kB / 0.9854 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.2536, allocations: 0 / 0.9854 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.2537, allocations: 4 kB / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.2539, allocations: 28.42 kB / 0.9855 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.2549, allocations: 297.4 kB / 0.9858 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/0.2593, allocations: 1.741 MB / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.2604, allocations: 327.2 kB / 0.9878 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.2607, allocations: 89.09 kB / 0.9879 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.2608, allocations: 30.56 kB / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 4.679e-06/0.2608, allocations: 0 / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.005912/0.2667, allocations: 0.9813 MB / 0.9888 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.2668, allocations: 85.33 kB / 0.9889 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.2673, allocations: 208.5 kB / 0.9891 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.2673, allocations: 29.7 kB / 0.9892 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.2675, allocations: 176 kB / 0.9893 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.2676, allocations: 78.84 kB / 0.9894 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.2677, allocations: 4 kB / 0.9894 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.2678, allocations: 330.8 kB / 0.9897 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.2683, allocations: 131.9 kB / 0.9898 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.2688, allocations: 217.1 kB / 0.99 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.2694, allocations: 165.2 kB / 0.9902 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2695, allocations: 0 / 0.9902 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002178/0.2717, allocations: 0.5005 MB / 0.9907 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.2718, allocations: 8 kB / 0.9907 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.2718, allocations: 3.953 kB / 0.9907 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.273, allocations: 155.4 kB / 0.9909 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.2738, allocations: 59.84 kB / 0.9909 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005281/0.2791, allocations: 3.985 MB / 0.9948 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.2798, allocations: 23.98 kB / 0.9948 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.2799, allocations: 12 kB / 0.9948 GB, free: 10.48 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.0003376/0.2802, allocations: 176 kB / 0.995 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.2804, allocations: 19.91 kB / 0.995 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.2824, allocations: 478.3 kB / 0.9955 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.2825, allocations: 4 kB / 0.9955 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.2825, allocations: 0 / 0.9955 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.2825, allocations: 3.984 kB / 0.9955 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.2861, allocations: 1.006 MB / 0.9965 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.2862, allocations: 4 kB / 0.9965 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.2866, allocations: 36.22 kB / 0.9965 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.2877, allocations: 151.2 kB / 0.9967 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.2878, allocations: 8 kB / 0.9967 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00458/0.2924, allocations: 3.973 MB / 1.001 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.2925, allocations: 3.938 kB / 1.001 GB, free: 4.188 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.2944, allocations: 0.7309 MB / 1.001 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/0.2947, allocations: 120.9 kB / 1.001 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.2948, allocations: 8 kB / 1.001 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/0.2954, allocations: 15.98 kB / 1.001 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.2955, allocations: 35.86 kB / 1.001 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.2956, allocations: 16 kB / 1.001 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000297/0.2959, allocations: 152.2 kB / 1.002 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.91e-07/0.2959, allocations: 0 / 1.002 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001172/0.2971, allocations: 88 kB / 1.002 GB, free: 2.902 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.0003607/0.2975, allocations: 135.2 kB / 1.002 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001989/0.2995, allocations: 0.5644 MB / 1.002 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.2996, allocations: 8.125 kB / 1.002 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.3008, allocations: 397.2 kB / 1.003 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008372/0.3017, allocations: 35.97 kB / 1.003 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.3039, allocations: 0.7328 MB / 1.003 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.3043, allocations: 0.7832 MB / 1.004 GB, free: 124 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005038/0.3048, allocations: 62.23 kB / 1.004 GB, free: 64 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.305, allocations: 23.38 kB / 1.004 GB, free: 40 kB / 0.6198 GB Notification: Performance of SimCode: time 1.813e-06/0.305, allocations: 0 / 1.004 GB, free: 40 kB / 0.6198 GB Notification: Performance of Templates: time 0.02063/0.3256, allocations: 3.886 MB / 1.008 GB, free: 12.18 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)