Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008064/0.0008063, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007382/0.007382, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005677/0.0005678, allocations: 12.88 kB / 0.6743 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3043, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004517/0.3089, allocations: 3.237 MB / 0.791 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.3119, allocations: 1.754 MB / 0.7928 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.312, allocations: 7.938 kB / 0.7928 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.3123, allocations: 35.7 kB / 0.7928 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005184/0.3128, allocations: 179.2 kB / 0.793 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.3134, allocations: 230.8 kB / 0.7932 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004817/0.3139, allocations: 0.4947 MB / 0.7937 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008402/0.3147, allocations: 414.8 kB / 0.7941 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.315, allocations: 123.5 kB / 0.7942 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.3154, allocations: 175.3 kB / 0.7944 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.3154, allocations: 20 kB / 0.7944 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.3159, allocations: 311.3 kB / 0.7947 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.316, allocations: 75.78 kB / 0.7947 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.3162, allocations: 149 kB / 0.7949 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000543/0.3168, allocations: 474.4 kB / 0.7953 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3168, allocations: 0 / 0.7953 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.186e-06/0.3168, allocations: 0 / 0.7953 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3168, allocations: 3.938 kB / 0.7953 GB, free: 3.902 MB / 0.6075 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.001191/0.318, allocations: 0.602 MB / 0.7959 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.3181, allocations: 8.031 kB / 0.7959 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007303/0.3188, allocations: 96.47 kB / 0.796 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.3193, allocations: 283.5 kB / 0.7963 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.3193, allocations: 20.81 kB / 0.7963 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-05/0.3194, allocations: 16.38 kB / 0.7963 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008722/0.3203, allocations: 430.9 kB / 0.7967 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3203, allocations: 0 / 0.7967 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.3203, allocations: 12 kB / 0.7968 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/0.3204, allocations: 20.36 kB / 0.7968 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009122/0.3213, allocations: 424.7 kB / 0.7972 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.3231, allocations: 1.619 MB / 0.7988 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.3243, allocations: 485 kB / 0.7992 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/0.3247, allocations: 209.6 kB / 0.7994 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.3249, allocations: 89.09 kB / 0.7995 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005638/0.3255, allocations: 286.3 kB / 0.7998 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.3255, allocations: 4 kB / 0.7998 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.001948/0.3275, allocations: 0.7858 MB / 0.8006 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.3275, allocations: 85.05 kB / 0.8006 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3278, allocations: 225 kB / 0.8009 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.3278, allocations: 29.7 kB / 0.8009 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.328, allocations: 172.3 kB / 0.801 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.546e-05/0.328, allocations: 90.66 kB / 0.8011 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.3281, allocations: 33.7 kB / 0.8012 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3283, allocations: 338.8 kB / 0.8015 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.3287, allocations: 176.2 kB / 0.8017 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.3291, allocations: 261.3 kB / 0.8019 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/0.33, allocations: 475.4 kB / 0.8024 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3301, allocations: 0 / 0.8024 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001155/0.3312, allocations: 0.5707 MB / 0.8029 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.3313, allocations: 182.6 kB / 0.8031 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3314, allocations: 0 / 0.8031 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.3316, allocations: 48.75 kB / 0.8031 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.332, allocations: 87.88 kB / 0.8032 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.3334, allocations: 1.505 MB / 0.8047 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.3337, allocations: 47.8 kB / 0.8047 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.3337, allocations: 12 kB / 0.8047 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.3338, allocations: 4 kB / 0.8047 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001089/0.3348, allocations: 0.5022 MB / 0.8052 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3349, allocations: 4 kB / 0.8052 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.335, allocations: 41.16 kB / 0.8053 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.3354, allocations: 91.81 kB / 0.8054 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.3365, allocations: 1.489 MB / 0.8068 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.3368, allocations: 47.8 kB / 0.8069 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.3368, allocations: 19.94 kB / 0.8069 GB, free: 7.27 MB / 0.6231 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 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.337, allocations: 237.1 kB / 0.8071 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.3371, allocations: 27.66 kB / 0.8071 GB, free: 7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.3382, allocations: 492.5 kB / 0.8076 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3382, allocations: 4 kB / 0.8076 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3382, allocations: 4 kB / 0.8076 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3382, allocations: 0 / 0.8076 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.3388, allocations: 0.5699 MB / 0.8082 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3389, allocations: 4 kB / 0.8082 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.3393, allocations: 88.02 kB / 0.8083 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001152/0.3394, allocations: 36.83 kB / 0.8083 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.3394, allocations: 8 kB / 0.8083 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.3405, allocations: 1.417 MB / 0.8097 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.3405, allocations: 0 / 0.8097 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3416, allocations: 0.5693 MB / 0.8102 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.3417, allocations: 132.6 kB / 0.8104 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.3418, allocations: 8 kB / 0.8104 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.3421, allocations: 43.95 kB / 0.8104 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.3422, allocations: 31.95 kB / 0.8105 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.3423, allocations: 8 kB / 0.8105 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001648/0.3424, allocations: 176.5 kB / 0.8106 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3424, allocations: 0 / 0.8106 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00062/0.3431, allocations: 127.9 kB / 0.8107 GB, free: 3.043 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002243/0.3433, allocations: 115.2 kB / 0.8109 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.3452, allocations: 1.017 MB / 0.8119 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3452, allocations: 0 / 0.8119 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006005/0.3458, allocations: 342.8 kB / 0.8122 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.3463, allocations: 36.42 kB / 0.8122 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.3475, allocations: 0.747 MB / 0.8129 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.3479, allocations: 0.78 MB / 0.8137 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002849/0.3482, allocations: 98.27 kB / 0.8138 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.3483, allocations: 31.42 kB / 0.8138 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.3483, allocations: 3.938 kB / 0.8138 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of Templates: time 0.008437/0.3567, allocations: 4.147 MB / 0.8179 GB, free: 11.62 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) Environment - environmentSimulation: