Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.301/2.301, allocations: 248.7 MB / 256.2 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 191.4 kB / 315.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001095, allocations: 88.42 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.136e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2316, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9795/1.211, allocations: 155.1 MB / 1.036 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005234/1.212, allocations: 98.55 kB / 1.036 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07894/1.291, allocations: 17.59 MB / 1.053 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.603e-06/1.291, allocations: 0 / 1.053 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.569e-05/1.291, allocations: 8 kB / 1.053 GB, free: 2.504 MB / 0.6667 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.001677/1.293, allocations: 0.6123 MB / 1.053 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/1.293, allocations: 16.03 kB / 1.054 GB, free: 1.844 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/1.294, allocations: 94.69 kB / 1.054 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/1.295, allocations: 284.1 kB / 1.054 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/1.295, allocations: 8 kB / 1.054 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/1.295, allocations: 12 kB / 1.054 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007226/1.295, allocations: 253.1 kB / 1.054 GB, free: 1.277 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007984/1.296, allocations: 338.7 kB / 1.054 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/1.296, allocations: 4 kB / 1.054 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/1.296, allocations: 0 / 1.054 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-05/1.296, allocations: 27.84 kB / 1.054 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/1.3, allocations: 1.609 MB / 1.056 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/1.301, allocations: 372.1 kB / 1.056 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/1.302, allocations: 154.8 kB / 1.057 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/1.302, allocations: 89.11 kB / 1.057 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005063/1.302, allocations: 226.4 kB / 1.057 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 3.046e-06/1.302, allocations: 3.938 kB / 1.057 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.001512/1.304, allocations: 427.1 kB / 1.057 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/1.304, allocations: 88.94 kB / 1.057 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/1.304, allocations: 184.6 kB / 1.058 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/1.304, allocations: 25.7 kB / 1.058 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/1.304, allocations: 172.3 kB / 1.058 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.305, allocations: 85.75 kB / 1.058 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/1.305, allocations: 0 / 1.058 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.305, allocations: 332.1 kB / 1.058 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/1.305, allocations: 131 kB / 1.058 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/1.306, allocations: 196.6 kB / 1.058 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/1.306, allocations: 160.6 kB / 1.059 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.306, allocations: 0 / 1.059 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001346/1.307, allocations: 423.5 kB / 1.059 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005029/1.308, allocations: 0.9131 MB / 1.06 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.308, allocations: 0 / 1.06 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000347/1.308, allocations: 48.2 kB / 1.06 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008102/1.309, allocations: 87.23 kB / 1.06 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/1.311, allocations: 1.444 MB / 1.061 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/1.312, allocations: 43.8 kB / 1.061 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/1.312, allocations: 19.25 kB / 1.061 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.312, allocations: 4 kB / 1.061 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001164/1.313, allocations: 352.7 kB / 1.062 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.313, allocations: 4 kB / 1.062 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/1.314, allocations: 40.61 kB / 1.062 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/1.314, allocations: 87.86 kB / 1.062 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/1.316, allocations: 1.425 MB / 1.063 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/1.317, allocations: 43.98 kB / 1.063 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/1.317, allocations: 15.69 kB / 1.063 GB, free: 8.359 MB / 0.6823 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 () * 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.0002099/1.317, allocations: 116.9 kB / 1.064 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001101/1.318, allocations: 360.6 kB / 1.064 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/1.318, allocations: 23.72 kB / 1.064 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/1.319, allocations: 387.7 kB / 1.064 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.32, allocations: 8 kB / 1.064 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.32, allocations: 0 / 1.064 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/1.32, allocations: 7.938 kB / 1.064 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009674/1.321, allocations: 0.5137 MB / 1.065 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.321, allocations: 7.938 kB / 1.065 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/1.321, allocations: 80 kB / 1.065 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002157/1.322, allocations: 43.52 kB / 1.065 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/1.322, allocations: 0 / 1.065 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/1.323, allocations: 1.35 MB / 1.066 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.323, allocations: 0 / 1.066 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/1.324, allocations: 498.8 kB / 1.067 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/1.325, allocations: 133.9 kB / 1.067 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.587e-05/1.325, allocations: 4 kB / 1.067 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/1.325, allocations: 35.94 kB / 1.067 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.325, allocations: 39.14 kB / 1.067 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/1.325, allocations: 7.953 kB / 1.067 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00023/1.326, allocations: 159.9 kB / 1.067 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/1.326, allocations: 3.938 kB / 1.067 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009058/1.327, allocations: 127.9 kB / 1.067 GB, free: 4.695 MB / 0.6823 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) * 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.001691/1.328, allocations: 1.261 MB / 1.068 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001881/1.33, allocations: 0.8309 MB / 1.069 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.33, allocations: 0 / 1.069 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006581/1.331, allocations: 279.5 kB / 1.069 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/1.332, allocations: 35.47 kB / 1.07 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/1.333, allocations: 0.5244 MB / 1.07 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/1.334, allocations: 0.792 MB / 1.071 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006339/1.335, allocations: 97.98 kB / 1.071 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/1.335, allocations: 88.83 kB / 1.071 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/1.335, allocations: 0 / 1.071 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/1.384, allocations: 6.297 MB / 1.077 GB, free: 10.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002984/1.384, allocations: 179.6 kB / 1.077 GB, free: 10.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.94, allocations: 5.016 kB / 1.077 GB, free: 10.61 MB / 0.698 GB