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 1.668/1.668, allocations: 287.4 MB / 303.2 MB, free: 8.223 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.0009914/0.0009913, allocations: 188.8 kB / 371.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 1.669/1.669, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.0008619/0.0008621, allocations: 92.86 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004286, allocations: 10.75 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2921, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.005657/0.2978, allocations: 3.113 MB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003943/0.3018, allocations: 1.646 MB / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003973/0.3023, allocations: 3.938 kB / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.3027, allocations: 31.72 kB / 0.984 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009878/0.3037, allocations: 155.3 kB / 0.9841 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3048, allocations: 185.3 kB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007728/0.3056, allocations: 422.6 kB / 0.9847 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.3068, allocations: 406.9 kB / 0.9851 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.3073, allocations: 139.5 kB / 0.9852 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.3078, allocations: 171.4 kB / 0.9854 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.961e-05/0.3079, allocations: 12 kB / 0.9854 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.3085, allocations: 135.8 kB / 0.9855 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.3086, allocations: 83.7 kB / 0.9856 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.3088, allocations: 73.58 kB / 0.9857 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006615/0.3095, allocations: 347 kB / 0.986 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3095, allocations: 0 / 0.986 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3095, allocations: 0 / 0.986 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.3095, allocations: 0 / 0.986 GB, free: 21.27 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.001704/0.3112, allocations: 0.598 MB / 0.9866 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/0.3113, allocations: 12.03 kB / 0.9866 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.3125, allocations: 100.5 kB / 0.9867 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.313, allocations: 275.5 kB / 0.987 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.3131, allocations: 16.81 kB / 0.987 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/0.3132, allocations: 16.38 kB / 0.987 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.3144, allocations: 438.9 kB / 0.9874 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.3145, allocations: 3.938 kB / 0.9874 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/0.3146, allocations: 11.98 kB / 0.9874 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-05/0.3146, allocations: 24.36 kB / 0.9874 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.3161, allocations: 416.7 kB / 0.9878 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.3186, allocations: 1.611 MB / 0.9894 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.3204, allocations: 481.1 kB / 0.9899 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006476/0.3211, allocations: 209.6 kB / 0.9901 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/0.3213, allocations: 85.09 kB / 0.9902 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008496/0.3222, allocations: 282.4 kB / 0.9904 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 6.432e-06/0.3222, allocations: 0 / 0.9904 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.002712/0.3249, allocations: 0.7848 MB / 0.9912 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.325, allocations: 89.28 kB / 0.9913 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.3253, allocations: 217 kB / 0.9915 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.3254, allocations: 37.64 kB / 0.9915 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3255, allocations: 164.3 kB / 0.9917 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.3257, allocations: 98.64 kB / 0.9918 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.3257, allocations: 11.94 kB / 0.9918 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.3258, allocations: 330.8 kB / 0.9921 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/0.3265, allocations: 180.2 kB / 0.9923 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006832/0.3272, allocations: 257.3 kB / 0.9925 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.3285, allocations: 482.9 kB / 0.993 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3285, allocations: 0 / 0.993 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001811/0.3304, allocations: 0.5717 MB / 0.9935 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.3305, allocations: 174.5 kB / 0.9937 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.3306, allocations: 4 kB / 0.9937 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.3309, allocations: 44.81 kB / 0.9937 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.3316, allocations: 87.86 kB / 0.9938 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.3334, allocations: 1.497 MB / 0.9953 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.3339, allocations: 55.8 kB / 0.9953 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.334, allocations: 11.98 kB / 0.9954 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.334, allocations: 6.344 kB / 0.9954 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001663/0.3357, allocations: 0.4983 MB / 0.9958 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3357, allocations: 0 / 0.9958 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.3359, allocations: 36.83 kB / 0.9959 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.3365, allocations: 92.02 kB / 0.996 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.338, allocations: 1.485 MB / 0.9974 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.3385, allocations: 55.86 kB / 0.9975 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.3386, allocations: 12 kB / 0.9975 GB, free: 8.707 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.0003221/0.3389, allocations: 245 kB / 0.9977 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.339, allocations: 27.66 kB / 0.9977 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.3404, allocations: 0.4893 MB / 0.9982 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.3404, allocations: 0 / 0.9982 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3404, allocations: 4 kB / 0.9982 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.3407, allocations: 132.7 kB / 0.9983 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/0.3407, allocations: 12 kB / 0.9984 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/0.3413, allocations: 47.88 kB / 0.9984 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.3414, allocations: 35.95 kB / 0.9984 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001908/0.3433, allocations: 0.6451 MB / 0.9991 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002056/0.3454, allocations: 0.8846 MB / 0.9999 GB, free: 6.133 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006362/0.3461, allocations: 195.8 kB / 1 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002356/0.3463, allocations: 176.5 kB / 1 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of Backend: time 1.773e-06/0.3463, allocations: 7.938 kB / 1 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003142/0.3495, allocations: 0.9803 MB / 1.001 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001591/0.3511, allocations: 1.077 MB / 1.002 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of Templates: time 0.01875/0.3699, allocations: 6.495 MB / 1.009 GB, free: 13.14 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)