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.482/1.482, allocations: 252 MB / 267.3 MB, free: 10.82 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.001013/0.001014, allocations: 169.5 kB / 327 MB, free: 2.09 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.819/1.819, allocations: 205.4 MB / 0.578 GB, free: 20.07 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.0007947/0.0007949, allocations: 98.23 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003085, allocations: 9.75 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2207, allocations: 106.4 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003862/0.2247, allocations: 3.233 MB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002776/0.2275, allocations: 1.758 MB / 0.9058 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.2278, allocations: 11.94 kB / 0.9058 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.2281, allocations: 31.72 kB / 0.9058 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007201/0.2288, allocations: 183.2 kB / 0.906 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008558/0.2297, allocations: 235.5 kB / 0.9062 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005906/0.2303, allocations: 498.6 kB / 0.9067 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008657/0.2312, allocations: 410.5 kB / 0.9071 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.2315, allocations: 139.4 kB / 0.9072 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.2319, allocations: 175.4 kB / 0.9074 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.232, allocations: 16 kB / 0.9074 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.2326, allocations: 303.4 kB / 0.9077 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.2327, allocations: 87.72 kB / 0.9078 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.2329, allocations: 149 kB / 0.9079 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007756/0.2337, allocations: 474.6 kB / 0.9084 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2337, allocations: 0 / 0.9084 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2337, allocations: 0 / 0.9084 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.2338, allocations: 0 / 0.9084 GB, free: 55.66 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.001274/0.2351, allocations: 0.602 MB / 0.909 GB, free: 55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.2351, allocations: 8.031 kB / 0.909 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.071e-05/0.2352, allocations: 62.72 kB / 0.909 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000767/0.236, allocations: 92.56 kB / 0.9091 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.2364, allocations: 283.4 kB / 0.9094 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.2364, allocations: 20.8 kB / 0.9094 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.2365, allocations: 20.31 kB / 0.9094 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007219/0.2372, allocations: 426.7 kB / 0.9099 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.2372, allocations: 3.938 kB / 0.9099 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.2373, allocations: 12 kB / 0.9099 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.2373, allocations: 20.36 kB / 0.9099 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008627/0.2382, allocations: 424.8 kB / 0.9103 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.2398, allocations: 1.615 MB / 0.9119 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2409, allocations: 480.1 kB / 0.9123 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/0.2413, allocations: 217.5 kB / 0.9125 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.2415, allocations: 93.03 kB / 0.9126 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000487/0.242, allocations: 278.5 kB / 0.9129 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.404e-06/0.242, allocations: 0 / 0.9129 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001794/0.2438, allocations: 0.7857 MB / 0.9137 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2438, allocations: 85.09 kB / 0.9137 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.244, allocations: 224.9 kB / 0.914 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.2441, allocations: 33.64 kB / 0.914 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.2442, allocations: 164.4 kB / 0.9141 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.2442, allocations: 98.64 kB / 0.9142 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.2443, allocations: 4 kB / 0.9142 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.2444, allocations: 338.8 kB / 0.9146 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.2447, allocations: 180.2 kB / 0.9147 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.2451, allocations: 261.3 kB / 0.915 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008244/0.246, allocations: 490.9 kB / 0.9155 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.246, allocations: 0 / 0.9155 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001046/0.247, allocations: 0.5598 MB / 0.916 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.2472, allocations: 182.5 kB / 0.9162 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2472, allocations: 0 / 0.9162 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.2474, allocations: 44.81 kB / 0.9162 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.2478, allocations: 91.86 kB / 0.9163 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.249, allocations: 1.493 MB / 0.9178 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.2493, allocations: 47.8 kB / 0.9178 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.2494, allocations: 19.98 kB / 0.9178 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.2494, allocations: 8.062 kB / 0.9178 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009625/0.2504, allocations: 0.4904 MB / 0.9183 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2504, allocations: 4 kB / 0.9183 GB, free: 44.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.2505, allocations: 56.88 kB / 0.9184 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.2509, allocations: 83.86 kB / 0.9184 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009186/0.2518, allocations: 1.485 MB / 0.9199 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.2521, allocations: 47.8 kB / 0.9199 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.2522, allocations: 19.98 kB / 0.92 GB, free: 43 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002156/0.2524, allocations: 245.6 kB / 0.9202 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.2525, allocations: 27.72 kB / 0.9202 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.2535, allocations: 490.6 kB / 0.9207 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.2535, allocations: 4 kB / 0.9207 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2535, allocations: 4 kB / 0.9207 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.2535, allocations: 7.922 kB / 0.9207 GB, free: 42.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.2541, allocations: 0.5584 MB / 0.9213 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2541, allocations: 4 kB / 0.9213 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.2544, allocations: 79.95 kB / 0.9213 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.2546, allocations: 36.83 kB / 0.9214 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.2546, allocations: 4 kB / 0.9214 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008126/0.2554, allocations: 1.432 MB / 0.9228 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2554, allocations: 4.062 kB / 0.9228 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/0.2563, allocations: 0.5693 MB / 0.9233 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.2565, allocations: 136.7 kB / 0.9235 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.2565, allocations: 8 kB / 0.9235 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.2568, allocations: 47.94 kB / 0.9235 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.2569, allocations: 27.91 kB / 0.9235 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.257, allocations: 15.98 kB / 0.9236 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001275/0.2571, allocations: 172.4 kB / 0.9237 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2571, allocations: 0 / 0.9237 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005476/0.2577, allocations: 128 kB / 0.9238 GB, free: 38.76 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.2588, allocations: 1.106 MB / 0.9249 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.2604, allocations: 1.02 MB / 0.9259 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2605, allocations: 0 / 0.9259 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.261, allocations: 342.8 kB / 0.9262 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.2615, allocations: 51.53 kB / 0.9263 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/0.266, allocations: 3.508 MB / 0.9297 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.2663, allocations: 0.7839 MB / 0.9305 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003007/0.2666, allocations: 102.2 kB / 0.9306 GB, free: 31.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.2668, allocations: 87.41 kB / 0.9307 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2668, allocations: 0 / 0.9307 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.2847, allocations: 6.588 MB / 0.9371 GB, free: 25.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.285, allocations: 277.6 kB / 0.9374 GB, free: 24.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/2.505, allocations: 2.75 kB / 0.9374 GB, free: 24.79 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)