Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.016/2.016, allocations: 288.4 MB / 303.4 MB, free: 8.148 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.001125/0.001125, allocations: 180.5 kB / 372 MB, free: 10.28 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.88/1.88, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008897/0.0008901, allocations: 94.3 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004335, allocations: 14.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2519, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003835/0.2558, allocations: 3.11 MB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002605/0.2585, allocations: 1.653 MB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.2588, allocations: 0 / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.2591, allocations: 35.7 kB / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006376/0.2597, allocations: 151.3 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007359/0.2605, allocations: 187.5 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.2609, allocations: 418.6 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.2615, allocations: 378.6 kB / 0.9854 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.2617, allocations: 127.5 kB / 0.9855 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.262, allocations: 163.4 kB / 0.9856 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.262, allocations: 16 kB / 0.9856 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.2623, allocations: 151.7 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.749e-05/0.2624, allocations: 79.78 kB / 0.9859 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.2624, allocations: 69.58 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.2628, allocations: 355.2 kB / 0.9863 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2628, allocations: 0 / 0.9863 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2628, allocations: 0 / 0.9863 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2628, allocations: 0 / 0.9863 GB, free: 20.77 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.001068/0.2639, allocations: 0.6019 MB / 0.9869 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2639, allocations: 12.02 kB / 0.9869 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006215/0.2645, allocations: 99.48 kB / 0.987 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.2648, allocations: 270.5 kB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.2649, allocations: 16.42 kB / 0.9872 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.2649, allocations: 28 kB / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.2656, allocations: 422.5 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.2657, allocations: 4 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.2657, allocations: 4 kB / 0.9877 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.2657, allocations: 32.3 kB / 0.9877 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007902/0.2665, allocations: 416.5 kB / 0.9881 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.268, allocations: 1.615 MB / 0.9897 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.269, allocations: 485.2 kB / 0.9901 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.2694, allocations: 217.5 kB / 0.9904 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.2696, allocations: 89.09 kB / 0.9904 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004937/0.2701, allocations: 276.4 kB / 0.9907 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.815e-06/0.2701, allocations: 0 / 0.9907 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001737/0.2718, allocations: 0.7847 MB / 0.9915 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.2719, allocations: 77.11 kB / 0.9915 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.272, allocations: 232.9 kB / 0.9918 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.2721, allocations: 29.7 kB / 0.9918 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.2722, allocations: 172.3 kB / 0.992 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.2722, allocations: 94.64 kB / 0.992 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.2723, allocations: 4 kB / 0.9921 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.2723, allocations: 342.8 kB / 0.9924 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.2727, allocations: 180.2 kB / 0.9926 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.2731, allocations: 253.1 kB / 0.9928 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.2735, allocations: 238.3 kB / 0.993 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2735, allocations: 0 / 0.993 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009786/0.2745, allocations: 0.5633 MB / 0.9936 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.2746, allocations: 178.5 kB / 0.9937 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2746, allocations: 4 kB / 0.9937 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.2749, allocations: 52.8 kB / 0.9938 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.2753, allocations: 91.86 kB / 0.9939 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.2764, allocations: 1.489 MB / 0.9953 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.2767, allocations: 55.8 kB / 0.9954 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.2768, allocations: 11.98 kB / 0.9954 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-06/0.2768, allocations: 4 kB / 0.9954 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00102/0.2778, allocations: 0.4983 MB / 0.9959 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.2778, allocations: 0 / 0.9959 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.278, allocations: 40.81 kB / 0.9959 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.2783, allocations: 96.02 kB / 0.996 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000857/0.2792, allocations: 1.477 MB / 0.9975 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.2795, allocations: 51.92 kB / 0.9975 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.2795, allocations: 12 kB / 0.9975 GB, free: 8.48 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.0001985/0.2797, allocations: 249.7 kB / 0.9978 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.2797, allocations: 23.72 kB / 0.9978 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009942/0.2807, allocations: 497.8 kB / 0.9983 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2808, allocations: 4 kB / 0.9983 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2808, allocations: 4 kB / 0.9983 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.2808, allocations: 3.984 kB / 0.9983 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.2814, allocations: 0.566 MB / 0.9988 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2814, allocations: 0 / 0.9988 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.2817, allocations: 75.92 kB / 0.9989 GB, free: 7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.2819, allocations: 48.86 kB / 0.9989 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.2819, allocations: 7.938 kB / 0.999 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008492/0.2827, allocations: 1.417 MB / 1 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2828, allocations: 7.969 kB / 1 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000878/0.2836, allocations: 0.5618 MB / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.2838, allocations: 132.6 kB / 1.001 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.2838, allocations: 11.98 kB / 1.001 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.2841, allocations: 43.89 kB / 1.001 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.2842, allocations: 31.91 kB / 1.001 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.2843, allocations: 16 kB / 1.001 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000124/0.2844, allocations: 172.5 kB / 1.001 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2844, allocations: 0 / 1.001 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005148/0.2849, allocations: 128 kB / 1.001 GB, free: 4.246 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.0001743/0.2851, allocations: 115.2 kB / 1.002 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.2867, allocations: 1.008 MB / 1.002 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2867, allocations: 0 / 1.002 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005417/0.2873, allocations: 338.8 kB / 1.003 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.2877, allocations: 48.72 kB / 1.003 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.2891, allocations: 0.7463 MB / 1.004 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.2894, allocations: 0.7839 MB / 1.004 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002808/0.2897, allocations: 98.2 kB / 1.004 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.369e-05/0.2898, allocations: 27.42 kB / 1.004 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.2898, allocations: 7.938 kB / 1.004 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of Templates: time 0.008878/0.2986, allocations: 4.029 MB / 1.008 GB, free: 12.98 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)