Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001214/0.001214, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.656/1.656, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.000503/0.000503, allocations: 16.47 kB / 0.6735 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.304, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003806/0.3079, allocations: 2.564 MB / 0.7896 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00251/0.3104, allocations: 1.626 MB / 0.7912 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.3106, allocations: 0 / 0.7912 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.3108, allocations: 35.77 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.3112, allocations: 139.5 kB / 0.7914 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.3117, allocations: 187.3 kB / 0.7916 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.312, allocations: 231.4 kB / 0.7918 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007437/0.3128, allocations: 378.6 kB / 0.7921 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.313, allocations: 115.6 kB / 0.7922 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.3133, allocations: 123.6 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.3133, allocations: 16 kB / 0.7924 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.3136, allocations: 139.8 kB / 0.7925 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.3137, allocations: 75.78 kB / 0.7926 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.514e-05/0.3138, allocations: 77.52 kB / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.3142, allocations: 347.3 kB / 0.793 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3142, allocations: 0 / 0.793 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.965e-06/0.3142, allocations: 0 / 0.793 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3142, allocations: 0 / 0.793 GB, free: 5.922 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.001176/0.3154, allocations: 0.6019 MB / 0.7936 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3155, allocations: 8.031 kB / 0.7936 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007113/0.3162, allocations: 103.5 kB / 0.7937 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.3166, allocations: 278.3 kB / 0.7939 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.3166, allocations: 16.44 kB / 0.794 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.3167, allocations: 20 kB / 0.794 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000739/0.3174, allocations: 426.5 kB / 0.7944 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3174, allocations: 3.938 kB / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.3175, allocations: 12 kB / 0.7944 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.117e-05/0.3175, allocations: 20.36 kB / 0.7944 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/0.3184, allocations: 420.5 kB / 0.7948 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.3203, allocations: 1.619 MB / 0.7964 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.3214, allocations: 485.2 kB / 0.7969 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.3215, allocations: 93.05 kB / 0.797 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/0.3221, allocations: 278.5 kB / 0.7972 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.883e-06/0.3221, allocations: 3.938 kB / 0.7972 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28): time 0.001825/0.3239, allocations: 0.7819 MB / 0.798 GB, free: 476 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.324, allocations: 85.09 kB / 0.7981 GB, free: 372 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.3242, allocations: 217 kB / 0.7983 GB, free: 144 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.3243, allocations: 33.7 kB / 0.7983 GB, free: 104 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.3244, allocations: 176.2 kB / 0.7985 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/0.3245, allocations: 86.75 kB / 0.7986 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.3245, allocations: 8 kB / 0.7986 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3247, allocations: 342.8 kB / 0.7989 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.325, allocations: 176.2 kB / 0.7991 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.3255, allocations: 257.3 kB / 0.7993 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.3259, allocations: 233.8 kB / 0.7995 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3259, allocations: 4 kB / 0.7995 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001077/0.327, allocations: 0.5603 MB / 0.8001 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003931/0.3274, allocations: 0.9099 MB / 0.801 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3274, allocations: 4 kB / 0.801 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/0.3277, allocations: 36.83 kB / 0.801 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.3281, allocations: 91.86 kB / 0.8011 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.3294, allocations: 1.513 MB / 0.8026 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.3297, allocations: 59.84 kB / 0.8026 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.3298, allocations: 12 kB / 0.8026 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.3298, allocations: 4 kB / 0.8026 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009986/0.3308, allocations: 0.4982 MB / 0.8031 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.3308, allocations: 0 / 0.8031 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.3309, allocations: 40.83 kB / 0.8032 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.3313, allocations: 88.02 kB / 0.8033 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.3325, allocations: 1.493 MB / 0.8047 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.3327, allocations: 60.08 kB / 0.8048 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.3328, allocations: 8 kB / 0.8048 GB, free: 9.047 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 ($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.0002589/0.3331, allocations: 248.9 kB / 0.805 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.3331, allocations: 27.7 kB / 0.805 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.3341, allocations: 488.5 kB / 0.8055 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3341, allocations: 4 kB / 0.8055 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.3341, allocations: 0 / 0.8055 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3342, allocations: 0 / 0.8055 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006523/0.3348, allocations: 0.5778 MB / 0.8061 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3348, allocations: 3.938 kB / 0.8061 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.3352, allocations: 79.86 kB / 0.8062 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.3353, allocations: 40.92 kB / 0.8062 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.3353, allocations: 8 kB / 0.8062 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.3364, allocations: 1.42 MB / 0.8076 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3364, allocations: 4.062 kB / 0.8076 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009725/0.3374, allocations: 0.5976 MB / 0.8082 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.3375, allocations: 136.7 kB / 0.8083 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.3376, allocations: 4 kB / 0.8083 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.3379, allocations: 39.95 kB / 0.8084 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.338, allocations: 40.19 kB / 0.8084 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.338, allocations: 8 kB / 0.8084 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001681/0.3382, allocations: 172.5 kB / 0.8086 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3382, allocations: 0 / 0.8086 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005518/0.3388, allocations: 128 kB / 0.8087 GB, free: 4.762 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 (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.0002018/0.339, allocations: 119.2 kB / 0.8088 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.3407, allocations: 1.013 MB / 0.8098 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3407, allocations: 4 kB / 0.8098 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005758/0.3413, allocations: 330.9 kB / 0.8101 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.3417, allocations: 40.41 kB / 0.8101 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.343, allocations: 0.7476 MB / 0.8109 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.3434, allocations: 0.7917 MB / 0.8116 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002857/0.3437, allocations: 94.19 kB / 0.8117 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.3437, allocations: 27.38 kB / 0.8118 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of SimCode: time 6.22e-07/0.3438, allocations: 0 / 0.8118 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of Templates: time 0.007811/0.3516, allocations: 4.027 MB / 0.8157 GB, free: 13.46 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) Environment - environmentSimulation: