Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.543/2.543, allocations: 253.2 MB / 260.6 MB, free: 7.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001387, allocations: 180.9 kB / 319.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.6 MB / 0.5709 GB, free: 15.28 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 97.08 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.126e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2084, allocations: 106.2 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9686/1.177, allocations: 155.1 MB / 1.04 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003665/1.177, allocations: 89.19 kB / 1.04 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07589/1.253, allocations: 17.59 MB / 1.057 GB, free: 1.078 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.643e-06/1.253, allocations: 0 / 1.057 GB, free: 1.078 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.662e-05/1.253, allocations: 4 kB / 1.057 GB, free: 1.074 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.00161/1.255, allocations: 0.6179 MB / 1.058 GB, free: 436 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.255, allocations: 16.02 kB / 1.058 GB, free: 420 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/1.256, allocations: 99.61 kB / 1.058 GB, free: 320 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/1.257, allocations: 276.8 kB / 1.058 GB, free: 28 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/1.257, allocations: 8 kB / 1.058 GB, free: 20 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/1.257, allocations: 12 kB / 1.058 GB, free: 8 kB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007226/1.258, allocations: 244.3 kB / 1.059 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000773/1.259, allocations: 350 kB / 1.059 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/1.259, allocations: 0 / 1.059 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/1.259, allocations: 4 kB / 1.059 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.721e-05/1.259, allocations: 28.05 kB / 1.059 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003149/1.262, allocations: 1.604 MB / 1.061 GB, free: 14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/1.263, allocations: 378 kB / 1.061 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/1.264, allocations: 154.8 kB / 1.061 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/1.264, allocations: 89.09 kB / 1.061 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005157/1.264, allocations: 226.6 kB / 1.061 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 2.756e-06/1.264, allocations: 0 / 1.061 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.001469/1.266, allocations: 424.7 kB / 1.062 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/1.266, allocations: 85.05 kB / 1.062 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/1.266, allocations: 194.5 kB / 1.062 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/1.266, allocations: 25.7 kB / 1.062 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/1.267, allocations: 162.2 kB / 1.062 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.267, allocations: 87.62 kB / 1.062 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/1.267, allocations: 0 / 1.062 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.267, allocations: 336.3 kB / 1.063 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/1.267, allocations: 129.5 kB / 1.063 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/1.268, allocations: 194.2 kB / 1.063 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/1.268, allocations: 167.8 kB / 1.063 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.268, allocations: 0 / 1.063 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001289/1.269, allocations: 424.3 kB / 1.064 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004688/1.27, allocations: 0.9039 MB / 1.064 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.27, allocations: 0 / 1.064 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003495/1.27, allocations: 51.17 kB / 1.064 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/1.271, allocations: 83.88 kB / 1.065 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/1.273, allocations: 1.439 MB / 1.066 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/1.274, allocations: 47.86 kB / 1.066 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/1.274, allocations: 19.67 kB / 1.066 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.274, allocations: 9.469 kB / 1.066 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001152/1.275, allocations: 360.3 kB / 1.066 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.275, allocations: 4 kB / 1.066 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/1.275, allocations: 35.39 kB / 1.066 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/1.276, allocations: 88.16 kB / 1.066 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/1.278, allocations: 1.43 MB / 1.068 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006229/1.279, allocations: 39.81 kB / 1.068 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/1.279, allocations: 19.11 kB / 1.068 GB, free: 6.926 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.0002054/1.279, allocations: 118.2 kB / 1.068 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/1.279, allocations: 27.72 kB / 1.068 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/1.28, allocations: 384.8 kB / 1.068 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.28, allocations: 4 kB / 1.068 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/1.28, allocations: 4 kB / 1.068 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/1.28, allocations: 3.984 kB / 1.068 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009586/1.281, allocations: 0.5152 MB / 1.069 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.281, allocations: 0 / 1.069 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007623/1.282, allocations: 87.72 kB / 1.069 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/1.282, allocations: 36.73 kB / 1.069 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/1.282, allocations: 64 / 1.069 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/1.284, allocations: 1.347 MB / 1.07 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.284, allocations: 3.938 kB / 1.07 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/1.285, allocations: 0.4926 MB / 1.071 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/1.285, allocations: 134.5 kB / 1.071 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.629e-05/1.285, allocations: 4 kB / 1.071 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/1.286, allocations: 39.94 kB / 1.071 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.286, allocations: 39.06 kB / 1.071 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/1.286, allocations: 12 kB / 1.071 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002267/1.286, allocations: 156.9 kB / 1.071 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.71e-07/1.286, allocations: 0 / 1.071 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009599/1.287, allocations: 127.9 kB / 1.071 GB, free: 3.551 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.0002603/1.288, allocations: 123.1 kB / 1.071 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001918/1.29, allocations: 0.8328 MB / 1.072 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.29, allocations: 0 / 1.072 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000669/1.29, allocations: 279.5 kB / 1.073 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/1.291, allocations: 37.34 kB / 1.073 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/1.292, allocations: 457.9 kB / 1.073 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/1.293, allocations: 0.7902 MB / 1.074 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006476/1.294, allocations: 102 kB / 1.074 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/1.294, allocations: 26.75 kB / 1.074 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/1.294, allocations: 0 / 1.074 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of Templates: time 0.01685/1.311, allocations: 4.114 MB / 1.078 GB, free: 13.04 MB / 0.698 GB