Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.498/1.498, allocations: 288.4 MB / 303.6 MB, free: 8.027 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009688/0.0009688, allocations: 186.7 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.4 MB / 0.631 GB, free: 9.824 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000718/0.0007179, allocations: 82.44 kB / 0.7444 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 11.78 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2187, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004801/0.2236, allocations: 3.106 MB / 0.9832 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003322/0.227, allocations: 1.649 MB / 0.9848 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.2272, allocations: 4 kB / 0.9848 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.2274, allocations: 35.7 kB / 0.9849 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006416/0.2281, allocations: 179.2 kB / 0.9851 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006024/0.2287, allocations: 211.5 kB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.2291, allocations: 430.6 kB / 0.9857 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006448/0.2298, allocations: 408 kB / 0.9861 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.23, allocations: 131.5 kB / 0.9862 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.2302, allocations: 163.4 kB / 0.9863 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.2302, allocations: 20 kB / 0.9864 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.2306, allocations: 295.4 kB / 0.9866 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.533e-05/0.2307, allocations: 87.7 kB / 0.9867 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2308, allocations: 145.1 kB / 0.9869 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.2312, allocations: 351.1 kB / 0.9872 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2312, allocations: 0 / 0.9872 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2312, allocations: 0 / 0.9872 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.2312, allocations: 0 / 0.9872 GB, free: 20.01 MB / 0.6198 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.001092/0.2323, allocations: 0.5981 MB / 0.9878 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.2324, allocations: 8.031 kB / 0.9878 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.996e-05/0.2324, allocations: 62.67 kB / 0.9878 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006535/0.2331, allocations: 100.4 kB / 0.9879 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.2334, allocations: 287.5 kB / 0.9882 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2334, allocations: 12.81 kB / 0.9882 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.2335, allocations: 20.36 kB / 0.9882 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00069/0.2342, allocations: 434.6 kB / 0.9887 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2342, allocations: 0 / 0.9887 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.2342, allocations: 11.98 kB / 0.9887 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/0.2343, allocations: 24.36 kB / 0.9887 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007698/0.235, allocations: 420.7 kB / 0.9891 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.2365, allocations: 1.615 MB / 0.9907 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009951/0.2375, allocations: 481.1 kB / 0.9911 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.2379, allocations: 208.4 kB / 0.9913 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.238, allocations: 85.09 kB / 0.9914 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004993/0.2385, allocations: 288.3 kB / 0.9917 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 1.924e-06/0.2385, allocations: 4 kB / 0.9917 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001716/0.2403, allocations: 0.7806 MB / 0.9925 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.2403, allocations: 85.05 kB / 0.9925 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.2405, allocations: 217 kB / 0.9927 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.2405, allocations: 37.69 kB / 0.9928 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.2406, allocations: 168.3 kB / 0.9929 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.2407, allocations: 90.73 kB / 0.993 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.2407, allocations: 12 kB / 0.993 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.2408, allocations: 330.8 kB / 0.9934 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.2412, allocations: 176.2 kB / 0.9935 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.2416, allocations: 261.3 kB / 0.9938 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.2423, allocations: 478.9 kB / 0.9942 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2423, allocations: 0 / 0.9942 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009805/0.2433, allocations: 0.5668 MB / 0.9948 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.271e-05/0.2434, allocations: 174.6 kB / 0.9949 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.2434, allocations: 4 kB / 0.995 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/0.2437, allocations: 52.81 kB / 0.995 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.2441, allocations: 91.8 kB / 0.9951 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.2452, allocations: 1.497 MB / 0.9966 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.2455, allocations: 51.8 kB / 0.9966 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.2455, allocations: 15.98 kB / 0.9966 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/0.2456, allocations: 8.062 kB / 0.9966 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009197/0.2465, allocations: 0.4904 MB / 0.9971 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.2465, allocations: 0 / 0.9971 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000111/0.2466, allocations: 48.86 kB / 0.9971 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.2469, allocations: 91.86 kB / 0.9972 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008628/0.2478, allocations: 1.477 MB / 0.9987 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.2481, allocations: 51.7 kB / 0.9987 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.2482, allocations: 16.12 kB / 0.9987 GB, free: 7.375 MB / 0.6198 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.0001867/0.2484, allocations: 241 kB / 0.999 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.2484, allocations: 27.72 kB / 0.999 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009128/0.2493, allocations: 493.9 kB / 0.9995 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2494, allocations: 4 kB / 0.9995 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.2494, allocations: 0 / 0.9995 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2494, allocations: 7.984 kB / 0.9995 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.2499, allocations: 0.5699 MB / 1 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2499, allocations: 0 / 1 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.2502, allocations: 87.95 kB / 1 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.2503, allocations: 32.83 kB / 1 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.2504, allocations: 8 kB / 1 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007445/0.2511, allocations: 1.413 MB / 1.002 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2511, allocations: 4.031 kB / 1.002 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008472/0.252, allocations: 0.5656 MB / 1.002 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.2521, allocations: 132.6 kB / 1.002 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.2522, allocations: 11.98 kB / 1.002 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.2524, allocations: 43.95 kB / 1.002 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/0.2526, allocations: 31.95 kB / 1.002 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.2526, allocations: 8 kB / 1.002 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001269/0.2527, allocations: 176.4 kB / 1.002 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2527, allocations: 0 / 1.002 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005313/0.2533, allocations: 124 kB / 1.003 GB, free: 3.16 MB / 0.6198 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.001081/0.2543, allocations: 1.125 MB / 1.004 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.256, allocations: 1.004 MB / 1.005 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.256, allocations: 0 / 1.005 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.2565, allocations: 342.7 kB / 1.005 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.257, allocations: 52.42 kB / 1.005 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.2602, allocations: 1.995 MB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.2606, allocations: 0.7839 MB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002946/0.2609, allocations: 90.2 kB / 1.008 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.261, allocations: 87.41 kB / 1.008 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.261, allocations: 0 / 1.008 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05407/0.3151, allocations: 6.6 MB / 1.014 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004433/0.3156, allocations: 258.5 kB / 1.015 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/2.782, allocations: 0 / 1.015 GB, free: 6.785 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)