Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.74/2.74, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.001356/0.001356, allocations: 184.5 kB / 371 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.326/2.326, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001446/0.001446, allocations: 87.17 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008074/0.0008077, allocations: 11.34 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2667, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004782/0.2716, allocations: 3.109 MB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003494/0.2751, allocations: 1.646 MB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.2755, allocations: 4 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.2758, allocations: 35.7 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006424/0.2764, allocations: 151.3 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009347/0.2774, allocations: 187.4 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.2781, allocations: 418.6 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.2792, allocations: 378.6 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004001/0.2796, allocations: 131.5 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.28, allocations: 167.4 kB / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.701e-05/0.2801, allocations: 16 kB / 0.9844 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.2806, allocations: 143.8 kB / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.2807, allocations: 83.77 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.2808, allocations: 65.58 kB / 0.9847 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005901/0.2814, allocations: 355.2 kB / 0.985 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2815, allocations: 0 / 0.985 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2815, allocations: 0 / 0.985 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2815, allocations: 0 / 0.985 GB, free: 21.44 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.001547/0.283, allocations: 0.6019 MB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2831, allocations: 12.02 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.2842, allocations: 99.48 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.2847, allocations: 274.3 kB / 0.986 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.2847, allocations: 20.44 kB / 0.986 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.2848, allocations: 20 kB / 0.986 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.286, allocations: 426.5 kB / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.2861, allocations: 0 / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.2861, allocations: 11.97 kB / 0.9865 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.269e-05/0.2862, allocations: 32.3 kB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.2876, allocations: 416.7 kB / 0.9869 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002542/0.2902, allocations: 1.611 MB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.2921, allocations: 493.1 kB / 0.9889 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00071/0.2929, allocations: 201.6 kB / 0.9891 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.2931, allocations: 89.09 kB / 0.9892 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000854/0.294, allocations: 282.5 kB / 0.9895 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 3.056e-06/0.294, allocations: 0 / 0.9895 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.002964/0.297, allocations: 0.7888 MB / 0.9902 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.2971, allocations: 81.11 kB / 0.9903 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.2974, allocations: 228.9 kB / 0.9905 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.2975, allocations: 33.7 kB / 0.9906 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.2976, allocations: 164.4 kB / 0.9907 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.815e-05/0.2978, allocations: 94.59 kB / 0.9908 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.2978, allocations: 4 kB / 0.9908 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.2979, allocations: 342.8 kB / 0.9911 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/0.2986, allocations: 176.2 kB / 0.9913 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/0.2993, allocations: 257.3 kB / 0.9916 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007345/0.3001, allocations: 238.3 kB / 0.9918 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3001, allocations: 0 / 0.9918 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00186/0.302, allocations: 0.5641 MB / 0.9923 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.3021, allocations: 186.5 kB / 0.9925 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3021, allocations: 4 kB / 0.9925 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.3025, allocations: 40.83 kB / 0.9926 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/0.3033, allocations: 91.86 kB / 0.9926 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.3049, allocations: 1.493 MB / 0.9941 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.3057, allocations: 55.8 kB / 0.9942 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.3057, allocations: 12 kB / 0.9942 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.3058, allocations: 0 / 0.9942 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001729/0.3075, allocations: 0.4944 MB / 0.9947 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3076, allocations: 4 kB / 0.9947 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.3078, allocations: 44.81 kB / 0.9947 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006642/0.3085, allocations: 96.05 kB / 0.9948 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.31, allocations: 1.477 MB / 0.9962 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/0.3106, allocations: 51.86 kB / 0.9963 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.3107, allocations: 8 kB / 0.9963 GB, free: 9.148 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.0003121/0.311, allocations: 244.9 kB / 0.9965 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.509e-05/0.3111, allocations: 27.78 kB / 0.9966 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.3129, allocations: 497.1 kB / 0.997 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.3129, allocations: 3.984 kB / 0.997 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3129, allocations: 4 kB / 0.997 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.313, allocations: 4 kB / 0.997 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009625/0.3139, allocations: 0.566 MB / 0.9976 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.314, allocations: 7.984 kB / 0.9976 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/0.3147, allocations: 75.92 kB / 0.9977 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/0.3149, allocations: 44.86 kB / 0.9977 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.315, allocations: 8 kB / 0.9977 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.3163, allocations: 1.409 MB / 0.9991 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3163, allocations: 3.938 kB / 0.9991 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.318, allocations: 0.5654 MB / 0.9997 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.3182, allocations: 140.6 kB / 0.9998 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/0.3183, allocations: 7.938 kB / 0.9998 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/0.3188, allocations: 39.95 kB / 0.9998 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.319, allocations: 39.91 kB / 0.9999 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.3191, allocations: 11.98 kB / 0.9999 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002215/0.3193, allocations: 168.5 kB / 1 GB, free: 5.043 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3193, allocations: 0 / 1 GB, free: 5.043 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008748/0.3202, allocations: 132 kB / 1 GB, free: 4.914 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.0002604/0.3205, allocations: 111.2 kB / 1 GB, free: 4.797 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002982/0.3235, allocations: 1.008 MB / 1.001 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.3235, allocations: 0 / 1.001 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.3246, allocations: 338.8 kB / 1.002 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/0.3253, allocations: 48.34 kB / 1.002 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.3272, allocations: 0.7405 MB / 1.002 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.3276, allocations: 0.7917 MB / 1.003 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005683/0.3281, allocations: 94.19 kB / 1.003 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.3283, allocations: 23.44 kB / 1.003 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of SimCode: time 1.513e-06/0.3283, allocations: 4 kB / 1.003 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of Templates: time 0.01337/0.3417, allocations: 4.034 MB / 1.007 GB, free: 13.65 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)