Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 177.5 kB / 326.5 MB, free: 2.25 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.199/2.199, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009362/0.0009362, allocations: 101.4 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 9.719 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2563, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.4571, allocations: 155.1 MB / 1.052 GB, free: 4.496 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.4574, allocations: 91.94 kB / 1.052 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5981/1.056, allocations: 17.75 MB / 1.069 GB, free: 151.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.434e-06/1.056, allocations: 0 / 1.069 GB, free: 151.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.512e-05/1.056, allocations: 5.188 kB / 1.069 GB, free: 151.4 MB / 0.698 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.001295/1.057, allocations: 0.6431 MB / 1.07 GB, free: 150.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.057, allocations: 8.688 kB / 1.07 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.077e-05/1.057, allocations: 55.45 kB / 1.07 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/1.058, allocations: 98.91 kB / 1.07 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/1.058, allocations: 279.7 kB / 1.07 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/1.058, allocations: 14.62 kB / 1.07 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-05/1.058, allocations: 25.88 kB / 1.07 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008584/1.059, allocations: 424.4 kB / 1.071 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/1.059, allocations: 0.9375 kB / 1.071 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/1.059, allocations: 11.09 kB / 1.071 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/1.059, allocations: 19.94 kB / 1.071 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009838/1.06, allocations: 416.4 kB / 1.071 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/1.063, allocations: 1.664 MB / 1.073 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/1.065, allocations: 486.7 kB / 1.073 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/1.065, allocations: 85.11 kB / 1.073 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006645/1.065, allocations: 281.9 kB / 1.073 GB, free: 149.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.715e-06/1.065, allocations: 0 / 1.073 GB, free: 149.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.00238/1.068, allocations: 0.7783 MB / 1.074 GB, free: 149 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/1.068, allocations: 84.61 kB / 1.074 GB, free: 148.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/1.068, allocations: 195.1 kB / 1.074 GB, free: 148.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/1.068, allocations: 35.73 kB / 1.075 GB, free: 148.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/1.068, allocations: 168.1 kB / 1.075 GB, free: 148.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/1.069, allocations: 95.09 kB / 1.075 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/1.069, allocations: 6.188 kB / 1.075 GB, free: 148.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.069, allocations: 331.2 kB / 1.075 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/1.069, allocations: 192.1 kB / 1.075 GB, free: 148.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/1.07, allocations: 253.2 kB / 1.076 GB, free: 148.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/1.07, allocations: 230.7 kB / 1.076 GB, free: 148.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.07, allocations: 3.953 kB / 1.076 GB, free: 148.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001441/1.072, allocations: 0.5649 MB / 1.076 GB, free: 148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003361/1.072, allocations: 0.9006 MB / 1.077 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.072, allocations: 2.188 kB / 1.077 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002934/1.072, allocations: 48.34 kB / 1.077 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/1.073, allocations: 89.97 kB / 1.077 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/1.074, allocations: 1.512 MB / 1.079 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/1.075, allocations: 50.95 kB / 1.079 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/1.075, allocations: 18.25 kB / 1.079 GB, free: 145.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/1.075, allocations: 10.78 kB / 1.079 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/1.076, allocations: 0.4949 MB / 1.079 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/1.076, allocations: 6.312 kB / 1.079 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/1.076, allocations: 44 kB / 1.079 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/1.076, allocations: 86.27 kB / 1.079 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/1.077, allocations: 1.493 MB / 1.081 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/1.078, allocations: 50.17 kB / 1.081 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/1.078, allocations: 16 kB / 1.081 GB, free: 144.3 MB / 0.698 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.0002859/1.078, allocations: 242.9 kB / 1.081 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/1.078, allocations: 24.19 kB / 1.081 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/1.079, allocations: 498.5 kB / 1.082 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.079, allocations: 7.297 kB / 1.082 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.079, allocations: 1.094 kB / 1.082 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/1.079, allocations: 3.797 kB / 1.082 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008102/1.08, allocations: 0.5623 MB / 1.082 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.08, allocations: 3.938 kB / 1.082 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/1.081, allocations: 86.98 kB / 1.082 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/1.081, allocations: 33.95 kB / 1.082 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/1.081, allocations: 10.33 kB / 1.082 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009385/1.082, allocations: 1.422 MB / 1.084 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.082, allocations: 5.109 kB / 1.084 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/1.083, allocations: 0.5918 MB / 1.084 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/1.083, allocations: 140.2 kB / 1.085 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/1.083, allocations: 6.094 kB / 1.085 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/1.083, allocations: 43.77 kB / 1.085 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.083, allocations: 35.64 kB / 1.085 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/1.084, allocations: 13.95 kB / 1.085 GB, free: 141.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001763/1.084, allocations: 171.5 kB / 1.085 GB, free: 141.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.084, allocations: 0 / 1.085 GB, free: 141.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000755/1.084, allocations: 144.3 kB / 1.085 GB, free: 141.7 MB / 0.698 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.001342/1.086, allocations: 1.381 MB / 1.086 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002042/1.088, allocations: 1.012 MB / 1.087 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.088, allocations: 0 / 1.087 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006565/1.089, allocations: 341.3 kB / 1.088 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/1.089, allocations: 43.28 kB / 1.088 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/1.093, allocations: 3.343 MB / 1.091 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/1.094, allocations: 0.7878 MB / 1.092 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000367/1.094, allocations: 98.28 kB / 1.092 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/1.094, allocations: 91.23 kB / 1.092 GB, free: 136.8 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/1.094, allocations: 0 / 1.092 GB, free: 136.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/1.115, allocations: 6.575 MB / 1.098 GB, free: 133.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/1.115, allocations: 244 kB / 1.098 GB, free: 133.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/3.203, allocations: 0 / 1.098 GB, free: 133.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)