Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.781/1.781, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.001298/0.001297, allocations: 183 kB / 371.2 MB, free: 10.82 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.838/1.838, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0009929/0.000993, allocations: 90.95 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004192, allocations: 11.44 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2544, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003026/0.2575, allocations: 2.611 MB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.2598, allocations: 1.661 MB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.2601, allocations: 4 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.2603, allocations: 35.7 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005007/0.2608, allocations: 151.2 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.2615, allocations: 176.9 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.2619, allocations: 426.6 kB / 0.9836 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000688/0.2626, allocations: 406.9 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.2629, allocations: 123.5 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.2632, allocations: 167.4 kB / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.2632, allocations: 16 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.2635, allocations: 151.8 kB / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.2636, allocations: 79.72 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/0.2637, allocations: 69.58 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.2641, allocations: 351 kB / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2641, allocations: 0 / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2641, allocations: 0 / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.2641, allocations: 0 / 0.9849 GB, free: 21.74 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009527/0.2651, allocations: 0.5942 MB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2651, allocations: 8.031 kB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.2657, allocations: 96.47 kB / 0.9856 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.266, allocations: 287.4 kB / 0.9859 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2661, allocations: 20.8 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.2661, allocations: 16.38 kB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/0.2668, allocations: 430.9 kB / 0.9863 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2668, allocations: 4 kB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.2668, allocations: 12 kB / 0.9863 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.2669, allocations: 28.23 kB / 0.9864 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007895/0.2677, allocations: 416.8 kB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.2692, allocations: 1.611 MB / 0.9883 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.2703, allocations: 485.1 kB / 0.9888 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.2707, allocations: 209.6 kB / 0.989 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.2708, allocations: 85.09 kB / 0.9891 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/0.2713, allocations: 278.5 kB / 0.9893 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.2713, allocations: 0 / 0.9893 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001662/0.273, allocations: 0.7808 MB / 0.9901 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.2731, allocations: 89.23 kB / 0.9902 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.2732, allocations: 224.9 kB / 0.9904 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.2733, allocations: 33.7 kB / 0.9904 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.2734, allocations: 164.3 kB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.2734, allocations: 94.64 kB / 0.9907 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.2735, allocations: 4 kB / 0.9907 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.2736, allocations: 334.8 kB / 0.991 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.2739, allocations: 184.2 kB / 0.9912 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.2743, allocations: 257.3 kB / 0.9914 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/0.275, allocations: 486.9 kB / 0.9919 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2751, allocations: 0 / 0.9919 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009881/0.276, allocations: 0.5639 MB / 0.9924 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.365e-05/0.2762, allocations: 182.5 kB / 0.9926 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.2762, allocations: 0 / 0.9926 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.2764, allocations: 44.83 kB / 0.9927 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.2768, allocations: 87.86 kB / 0.9927 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.278, allocations: 1.501 MB / 0.9942 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.2783, allocations: 51.86 kB / 0.9943 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.2784, allocations: 16 kB / 0.9943 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.2784, allocations: 4 kB / 0.9943 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009204/0.2793, allocations: 0.4904 MB / 0.9948 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2793, allocations: 4 kB / 0.9948 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001155/0.2794, allocations: 44.81 kB / 0.9948 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.2798, allocations: 83.97 kB / 0.9949 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.2808, allocations: 1.493 MB / 0.9963 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.2811, allocations: 51.86 kB / 0.9964 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.2812, allocations: 16.12 kB / 0.9964 GB, free: 9.176 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002204/0.2814, allocations: 236.9 kB / 0.9966 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.2815, allocations: 39.64 kB / 0.9967 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009753/0.2825, allocations: 489 kB / 0.9971 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2825, allocations: 4 kB / 0.9971 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2825, allocations: 0 / 0.9971 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.2825, allocations: 0 / 0.9971 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.2831, allocations: 0.5778 MB / 0.9977 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.2831, allocations: 0 / 0.9977 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.2835, allocations: 79.91 kB / 0.9978 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.2836, allocations: 40.8 kB / 0.9978 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.2837, allocations: 12 kB / 0.9978 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009407/0.2846, allocations: 1.405 MB / 0.9992 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2846, allocations: 8 kB / 0.9992 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009198/0.2856, allocations: 0.5576 MB / 0.9998 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.2857, allocations: 140.9 kB / 0.9999 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.2858, allocations: 15.92 kB / 0.9999 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.286, allocations: 39.95 kB / 0.9999 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.2862, allocations: 27.95 kB / 1 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.2862, allocations: 12 kB / 1 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001576/0.2864, allocations: 176.5 kB / 1 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2864, allocations: 0 / 1 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005697/0.2869, allocations: 131.9 kB / 1 GB, free: 4.949 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002118/0.2872, allocations: 111.2 kB / 1 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.289, allocations: 1.016 MB / 1.001 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.289, allocations: 0 / 1.001 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005971/0.2896, allocations: 334.8 kB / 1.002 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.2901, allocations: 46.8 kB / 1.002 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.2915, allocations: 0.746 MB / 1.002 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.2919, allocations: 0.7839 MB / 1.003 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000309/0.2922, allocations: 98.14 kB / 1.003 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.2923, allocations: 27.42 kB / 1.003 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.2923, allocations: 0 / 1.003 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of Templates: time 0.009543/0.3019, allocations: 4.025 MB / 1.007 GB, free: 13.66 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)