Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008505/0.0008504, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 222.1 MB, free: 5.367 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.878/1.878, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005125/0.0005126, allocations: 13.09 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2853, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.00413/0.2895, allocations: 3.113 MB / 0.7905 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.292, allocations: 1.65 MB / 0.7921 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.2922, allocations: 3.938 kB / 0.7921 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.2923, allocations: 35.7 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.2927, allocations: 155.3 kB / 0.7922 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.2932, allocations: 183.6 kB / 0.7924 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.2937, allocations: 414.6 kB / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007174/0.2944, allocations: 382.8 kB / 0.7932 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.2946, allocations: 135.5 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.295, allocations: 167.4 kB / 0.7935 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.295, allocations: 20 kB / 0.7935 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.2953, allocations: 139.8 kB / 0.7936 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.2954, allocations: 83.7 kB / 0.7937 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.2955, allocations: 73.58 kB / 0.7938 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.2959, allocations: 339.1 kB / 0.7941 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.2959, allocations: 4 kB / 0.7941 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2959, allocations: 0 / 0.7941 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2959, allocations: 0 / 0.7941 GB, free: 4.91 MB / 0.6075 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.00122/0.2972, allocations: 0.6057 MB / 0.7947 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.2972, allocations: 8.031 kB / 0.7947 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.116e-05/0.2973, allocations: 54.55 kB / 0.7948 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006793/0.298, allocations: 103.5 kB / 0.7949 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.2983, allocations: 278.2 kB / 0.7951 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.2984, allocations: 16.44 kB / 0.7951 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.2984, allocations: 23.98 kB / 0.7952 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/0.2992, allocations: 418.6 kB / 0.7956 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.2992, allocations: 4 kB / 0.7956 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.2993, allocations: 11.98 kB / 0.7956 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/0.2993, allocations: 28.36 kB / 0.7956 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008469/0.3002, allocations: 420.5 kB / 0.796 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.302, allocations: 1.611 MB / 0.7976 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.3031, allocations: 491.6 kB / 0.798 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.3035, allocations: 209.6 kB / 0.7982 GB, free: 396 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.3036, allocations: 89.09 kB / 0.7983 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005373/0.3042, allocations: 282.5 kB / 0.7986 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=27): time 3.126e-06/0.3042, allocations: 11.98 kB / 0.7986 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.001766/0.306, allocations: 0.779 MB / 0.7994 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.306, allocations: 81.11 kB / 0.7994 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3063, allocations: 224.9 kB / 0.7997 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.3063, allocations: 29.7 kB / 0.7997 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3064, allocations: 168.3 kB / 0.7998 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.646e-05/0.3065, allocations: 94.64 kB / 0.7999 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.3065, allocations: 12 kB / 0.7999 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3067, allocations: 338.8 kB / 0.8003 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.3071, allocations: 180.1 kB / 0.8004 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/0.3075, allocations: 257.3 kB / 0.8007 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.308, allocations: 229.8 kB / 0.8009 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.308, allocations: 4 kB / 0.8009 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001379/0.3094, allocations: 0.5564 MB / 0.8015 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.3095, allocations: 186.6 kB / 0.8016 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3095, allocations: 7.953 kB / 0.8016 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.3098, allocations: 44.75 kB / 0.8017 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.3102, allocations: 99.8 kB / 0.8018 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.3116, allocations: 1.481 MB / 0.8032 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.312, allocations: 51.8 kB / 0.8033 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.312, allocations: 15.98 kB / 0.8033 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.312, allocations: 4 kB / 0.8033 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009945/0.313, allocations: 0.4944 MB / 0.8038 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-06/0.313, allocations: 0 / 0.8038 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.3132, allocations: 40.83 kB / 0.8038 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.3135, allocations: 92.02 kB / 0.8039 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.3147, allocations: 1.493 MB / 0.8054 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.315, allocations: 47.8 kB / 0.8054 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.315, allocations: 19.98 kB / 0.8054 GB, free: 8.535 MB / 0.6231 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.0002135/0.3152, allocations: 233.1 kB / 0.8056 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.3153, allocations: 23.72 kB / 0.8057 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.3163, allocations: 492.5 kB / 0.8061 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3163, allocations: 8 kB / 0.8061 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3163, allocations: 4 kB / 0.8062 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3164, allocations: 3.984 kB / 0.8062 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.317, allocations: 0.5699 MB / 0.8067 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.317, allocations: 0 / 0.8067 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.3174, allocations: 83.95 kB / 0.8068 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/0.3175, allocations: 36.83 kB / 0.8068 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.3176, allocations: 4 kB / 0.8068 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.3187, allocations: 1.413 MB / 0.8082 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3188, allocations: 4.031 kB / 0.8082 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3198, allocations: 0.5615 MB / 0.8088 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.3199, allocations: 132.6 kB / 0.8089 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.32, allocations: 11.98 kB / 0.8089 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.3203, allocations: 39.95 kB / 0.8089 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.3204, allocations: 35.91 kB / 0.809 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.3204, allocations: 16 kB / 0.809 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001784/0.3206, allocations: 168.5 kB / 0.8092 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3206, allocations: 3.938 kB / 0.8092 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005944/0.3212, allocations: 128 kB / 0.8093 GB, free: 4.324 MB / 0.6231 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.001361/0.3226, allocations: 1.114 MB / 0.8104 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00187/0.3245, allocations: 1.013 MB / 0.8114 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3245, allocations: 0 / 0.8114 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.3251, allocations: 339.2 kB / 0.8117 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.3256, allocations: 48.36 kB / 0.8117 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.3294, allocations: 1.988 MB / 0.8137 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.3299, allocations: 0.7878 MB / 0.8144 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003306/0.3303, allocations: 98.22 kB / 0.8145 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.3305, allocations: 83.39 kB / 0.8146 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/0.3305, allocations: 0 / 0.8146 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.3501, allocations: 6.581 MB / 0.821 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.3503, allocations: 241.3 kB / 0.8213 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.521, allocations: 0 / 0.8213 GB, free: 8.059 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) Environment - environmentSimulation: