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 1.759/1.759, allocations: 288.3 MB / 303.2 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.001241/0.001241, allocations: 171.7 kB / 371.8 MB, free: 10.27 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.757/1.757, allocations: 205.4 MB / 0.6306 GB, free: 9.969 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.0009734/0.0009733, allocations: 90.88 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.000435, allocations: 12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2843, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003525/0.2878, allocations: 3.036 MB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.2899, allocations: 1.626 MB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.2901, allocations: 4 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.2902, allocations: 35.77 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.2905, allocations: 131.6 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.2909, allocations: 191.4 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.2912, allocations: 227.4 kB / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006002/0.2918, allocations: 378.6 kB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.2919, allocations: 115.6 kB / 0.985 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.2922, allocations: 131.5 kB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.2922, allocations: 12 kB / 0.9851 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.2924, allocations: 139.8 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.2925, allocations: 79.78 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.2926, allocations: 65.58 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.2929, allocations: 347.3 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.2929, allocations: 3.938 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2929, allocations: 4 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.2929, allocations: 4 kB / 0.9858 GB, free: 21.14 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.001013/0.2939, allocations: 0.5941 MB / 0.9863 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.294, allocations: 16.02 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006433/0.2946, allocations: 107.5 kB / 0.9865 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.2949, allocations: 270.5 kB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.2949, allocations: 16.42 kB / 0.9867 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.295, allocations: 16 kB / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/0.2957, allocations: 426.5 kB / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.2957, allocations: 4 kB / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.2958, allocations: 8 kB / 0.9872 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.2958, allocations: 28.36 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007774/0.2966, allocations: 416.5 kB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.298, allocations: 1.611 MB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.2991, allocations: 491.8 kB / 0.9896 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.2992, allocations: 97.05 kB / 0.9897 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004849/0.2997, allocations: 284.3 kB / 0.99 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.2997, allocations: 0 / 0.99 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.00166/0.3014, allocations: 0.7757 MB / 0.9908 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3014, allocations: 85.23 kB / 0.9908 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.3016, allocations: 228.9 kB / 0.9911 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3016, allocations: 29.7 kB / 0.9911 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.3017, allocations: 168.3 kB / 0.9912 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.3018, allocations: 102.6 kB / 0.9913 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.3018, allocations: 4 kB / 0.9913 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.3019, allocations: 342.8 kB / 0.9917 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.3022, allocations: 180.2 kB / 0.9918 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.3026, allocations: 261.1 kB / 0.9921 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.303, allocations: 234.3 kB / 0.9923 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.303, allocations: 0 / 0.9923 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009603/0.304, allocations: 0.5515 MB / 0.9929 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002364/0.3043, allocations: 0.9099 MB / 0.9937 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3043, allocations: 8 kB / 0.9938 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.3045, allocations: 40.81 kB / 0.9938 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.3049, allocations: 91.86 kB / 0.9939 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.306, allocations: 1.501 MB / 0.9953 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.3063, allocations: 59.89 kB / 0.9954 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.3063, allocations: 12 kB / 0.9954 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/0.3063, allocations: 4 kB / 0.9954 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009025/0.3072, allocations: 0.4944 MB / 0.9959 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.3072, allocations: 4 kB / 0.9959 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.3074, allocations: 44.81 kB / 0.9959 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.3077, allocations: 83.88 kB / 0.996 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008305/0.3085, allocations: 1.497 MB / 0.9975 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.3088, allocations: 55.92 kB / 0.9975 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.3089, allocations: 8 kB / 0.9975 GB, free: 8.273 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.0001661/0.309, allocations: 248.9 kB / 0.9978 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.3091, allocations: 23.72 kB / 0.9978 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009341/0.31, allocations: 493.7 kB / 0.9983 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.31, allocations: 0 / 0.9983 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.31, allocations: 4 kB / 0.9983 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.31, allocations: 3.984 kB / 0.9983 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.3106, allocations: 0.5739 MB / 0.9988 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3106, allocations: 4 kB / 0.9989 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.3109, allocations: 75.92 kB / 0.9989 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.3111, allocations: 40.77 kB / 0.999 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.3111, allocations: 8 kB / 0.999 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008218/0.3119, allocations: 1.425 MB / 1 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3119, allocations: 4.031 kB / 1 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008603/0.3128, allocations: 0.6057 MB / 1.001 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.3129, allocations: 140.6 kB / 1.001 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.313, allocations: 8 kB / 1.001 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.3133, allocations: 39.95 kB / 1.001 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.3134, allocations: 31.91 kB / 1.001 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.3134, allocations: 12 kB / 1.001 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001282/0.3136, allocations: 176.5 kB / 1.001 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3136, allocations: 0 / 1.001 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005062/0.3141, allocations: 128 kB / 1.001 GB, free: 3.977 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.0001636/0.3143, allocations: 113.2 kB / 1.002 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.3158, allocations: 1.012 MB / 1.003 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3158, allocations: 0 / 1.003 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005039/0.3163, allocations: 338.8 kB / 1.003 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.3166, allocations: 38.11 kB / 1.003 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.3178, allocations: 0.745 MB / 1.004 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.318, allocations: 0.7917 MB / 1.004 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000267/0.3183, allocations: 98.38 kB / 1.005 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/0.3184, allocations: 31.42 kB / 1.005 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.3184, allocations: 0 / 1.005 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of Templates: time 0.008582/0.327, allocations: 4.029 MB / 1.008 GB, free: 12.71 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)