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.558/1.558, allocations: 252 MB / 267 MB, free: 10.96 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.001004/0.001004, allocations: 187.5 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.4 MB / 0.5777 GB, free: 20.2 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.0008044/0.0008043, allocations: 95.47 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003759, allocations: 13.12 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2791, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004089/0.2833, allocations: 3.109 MB / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.2857, allocations: 1.669 MB / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.2859, allocations: 8 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.2862, allocations: 31.72 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.2866, allocations: 143.3 kB / 0.9052 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.2871, allocations: 185.5 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.2875, allocations: 426.6 kB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006802/0.2881, allocations: 374.6 kB / 0.9061 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.2884, allocations: 131.5 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.2886, allocations: 171.4 kB / 0.9064 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.2887, allocations: 12 kB / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.2889, allocations: 147.8 kB / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.289, allocations: 79.77 kB / 0.9066 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.2891, allocations: 69.58 kB / 0.9067 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.2894, allocations: 347.4 kB / 0.907 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2894, allocations: 0 / 0.907 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2894, allocations: 0 / 0.907 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.2895, allocations: 3.938 kB / 0.907 GB, free: 56.86 MB / 0.6042 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.001033/0.2905, allocations: 0.5979 MB / 0.9076 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2905, allocations: 8.031 kB / 0.9076 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.361e-05/0.2906, allocations: 58.55 kB / 0.9077 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006414/0.2913, allocations: 107.5 kB / 0.9078 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.2916, allocations: 266.6 kB / 0.908 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.2916, allocations: 16.42 kB / 0.908 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.2917, allocations: 19.94 kB / 0.908 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.2924, allocations: 426.6 kB / 0.9085 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.2924, allocations: 3.938 kB / 0.9085 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.2925, allocations: 8 kB / 0.9085 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.2925, allocations: 32.28 kB / 0.9085 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007919/0.2933, allocations: 420.7 kB / 0.9089 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.2947, allocations: 1.611 MB / 0.9105 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.2958, allocations: 492.3 kB / 0.9109 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.2962, allocations: 201.5 kB / 0.9111 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.2963, allocations: 101.1 kB / 0.9112 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004912/0.2968, allocations: 278.4 kB / 0.9115 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.254e-06/0.2969, allocations: 0 / 0.9115 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001781/0.2987, allocations: 0.778 MB / 0.9123 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.2987, allocations: 81.11 kB / 0.9123 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.2989, allocations: 225 kB / 0.9125 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.2989, allocations: 33.7 kB / 0.9126 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.299, allocations: 160.3 kB / 0.9127 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.2991, allocations: 98.73 kB / 0.9128 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.2991, allocations: 4 kB / 0.9128 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.2992, allocations: 338.8 kB / 0.9132 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.2996, allocations: 180.2 kB / 0.9133 GB, free: 50 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.3, allocations: 257.3 kB / 0.9136 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.3005, allocations: 237.8 kB / 0.9138 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3005, allocations: 3.938 kB / 0.9138 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001004/0.3015, allocations: 0.5605 MB / 0.9143 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.3016, allocations: 188.7 kB / 0.9145 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3016, allocations: 4 kB / 0.9145 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/0.3019, allocations: 40.83 kB / 0.9146 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.3022, allocations: 91.86 kB / 0.9147 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.3033, allocations: 1.501 MB / 0.9161 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.3037, allocations: 51.8 kB / 0.9162 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.3037, allocations: 16 kB / 0.9162 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.3037, allocations: 4 kB / 0.9162 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009244/0.3047, allocations: 498.2 kB / 0.9167 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3047, allocations: 4 kB / 0.9167 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/0.3048, allocations: 52.92 kB / 0.9167 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.3052, allocations: 79.88 kB / 0.9168 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008659/0.306, allocations: 1.489 MB / 0.9183 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.3063, allocations: 51.8 kB / 0.9183 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.3064, allocations: 15.94 kB / 0.9183 GB, free: 44.5 MB / 0.6042 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.0001777/0.3065, allocations: 241 kB / 0.9185 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3066, allocations: 31.7 kB / 0.9186 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009506/0.3075, allocations: 494.6 kB / 0.919 GB, free: 43.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3076, allocations: 4 kB / 0.9191 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3076, allocations: 0 / 0.9191 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3076, allocations: 3.938 kB / 0.9191 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.3081, allocations: 0.5584 MB / 0.9196 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3082, allocations: 4 kB / 0.9196 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.3085, allocations: 87.94 kB / 0.9197 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.3086, allocations: 36.83 kB / 0.9197 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.3087, allocations: 4 kB / 0.9197 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007598/0.3094, allocations: 1.413 MB / 0.9211 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3094, allocations: 0 / 0.9211 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.3103, allocations: 0.5655 MB / 0.9217 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.3104, allocations: 140.7 kB / 0.9218 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.3105, allocations: 4 kB / 0.9218 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.3107, allocations: 43.95 kB / 0.9218 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3109, allocations: 39.91 kB / 0.9219 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.3109, allocations: 8 kB / 0.9219 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001469/0.311, allocations: 176.4 kB / 0.9221 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.311, allocations: 0 / 0.9221 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005294/0.3116, allocations: 132 kB / 0.9222 GB, free: 40.27 MB / 0.6042 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.001224/0.3128, allocations: 1.122 MB / 0.9233 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.3145, allocations: 1.013 MB / 0.9243 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3146, allocations: 4 kB / 0.9243 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005576/0.3151, allocations: 334.8 kB / 0.9246 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.3156, allocations: 40.41 kB / 0.9246 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.3188, allocations: 1.977 MB / 0.9266 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.319, allocations: 0.7878 MB / 0.9273 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003057/0.3194, allocations: 94.19 kB / 0.9274 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.3195, allocations: 87.41 kB / 0.9275 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.3195, allocations: 0 / 0.9275 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.3384, allocations: 6.599 MB / 0.9339 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.3386, allocations: 255.1 kB / 0.9342 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.492, allocations: 4.062 kB / 0.9342 GB, free: 27.95 MB / 0.6042 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)