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.469/1.469, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 183.8 kB / 316.3 MB, free: 3.234 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.611/1.611, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008337/0.0008337, allocations: 93.53 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.158e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2061, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6833/0.8895, allocations: 155.4 MB / 1.037 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.8898, allocations: 100.5 kB / 1.037 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04504/0.9349, allocations: 17.57 MB / 1.054 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.874e-06/0.935, allocations: 0 / 1.054 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.052e-05/0.935, allocations: 8 kB / 1.054 GB, free: 0.9805 MB / 0.6667 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.001288/0.9363, allocations: 0.6143 MB / 1.055 GB, free: 344 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.9363, allocations: 8.031 kB / 1.055 GB, free: 336 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008557/0.9372, allocations: 99.52 kB / 1.055 GB, free: 236 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.9377, allocations: 283.8 kB / 1.055 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.9377, allocations: 8 kB / 1.055 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.9378, allocations: 15.94 kB / 1.055 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000444/0.9382, allocations: 245.8 kB / 1.056 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.9388, allocations: 348.2 kB / 1.056 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.9388, allocations: 4 kB / 1.056 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.9389, allocations: 0 / 1.056 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.9389, allocations: 27.67 kB / 1.056 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.941, allocations: 1.598 MB / 1.057 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.9418, allocations: 380.1 kB / 1.058 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.942, allocations: 154.3 kB / 1.058 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.9422, allocations: 93.08 kB / 1.058 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.9425, allocations: 224 kB / 1.058 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 2.204e-06/0.9425, allocations: 3.938 kB / 1.058 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.0009957/0.9435, allocations: 427.9 kB / 1.059 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.9436, allocations: 84.55 kB / 1.059 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.9438, allocations: 187 kB / 1.059 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.9438, allocations: 25.7 kB / 1.059 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.944, allocations: 170.6 kB / 1.059 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.604e-05/0.9441, allocations: 88.34 kB / 1.059 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.9441, allocations: 0 / 1.059 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9443, allocations: 333.6 kB / 1.06 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.9445, allocations: 128.4 kB / 1.06 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.9447, allocations: 200.9 kB / 1.06 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.945, allocations: 160.6 kB / 1.06 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.945, allocations: 0 / 1.06 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007216/0.9458, allocations: 426.9 kB / 1.06 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003396/0.9461, allocations: 0.9078 MB / 1.061 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9461, allocations: 7.984 kB / 1.061 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002285/0.9464, allocations: 44.28 kB / 1.061 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.9468, allocations: 87.69 kB / 1.061 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.9482, allocations: 1.431 MB / 1.063 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.9485, allocations: 39.86 kB / 1.063 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.9486, allocations: 19.73 kB / 1.063 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.9486, allocations: 4 kB / 1.063 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006619/0.9493, allocations: 358.7 kB / 1.063 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.9493, allocations: 4 kB / 1.063 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.9494, allocations: 43.09 kB / 1.063 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.9498, allocations: 91.41 kB / 1.063 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.9511, allocations: 1.428 MB / 1.065 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.9515, allocations: 51.84 kB / 1.065 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.9515, allocations: 15.92 kB / 1.065 GB, free: 6.828 MB / 0.6823 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 () * 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.0001604/0.9517, allocations: 108.9 kB / 1.065 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006353/0.9523, allocations: 358.4 kB / 1.065 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.9524, allocations: 31.72 kB / 1.065 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007126/0.9531, allocations: 384.2 kB / 1.066 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.9532, allocations: 4 kB / 1.066 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.9532, allocations: 4 kB / 1.066 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9532, allocations: 0 / 1.066 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006408/0.9538, allocations: 0.5145 MB / 1.066 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.9538, allocations: 4 kB / 1.066 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.9542, allocations: 79.86 kB / 1.066 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/0.9544, allocations: 36.86 kB / 1.066 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.9544, allocations: 3.812 kB / 1.066 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.9556, allocations: 1.356 MB / 1.068 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.9556, allocations: 3.953 kB / 1.068 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.9564, allocations: 499.5 kB / 1.068 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.9566, allocations: 133.7 kB / 1.068 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.9566, allocations: 4 kB / 1.068 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.9569, allocations: 39.89 kB / 1.068 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.9571, allocations: 30.45 kB / 1.068 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.9571, allocations: 12 kB / 1.068 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001748/0.9573, allocations: 158.5 kB / 1.068 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9573, allocations: 4 kB / 1.068 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007027/0.958, allocations: 130.6 kB / 1.069 GB, free: 3.172 MB / 0.6823 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) * 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.001247/0.9593, allocations: 1.264 MB / 1.07 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.9605, allocations: 0.8289 MB / 1.071 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.9605, allocations: 0 / 1.071 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.9609, allocations: 270.7 kB / 1.071 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.9613, allocations: 43.59 kB / 1.071 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.9626, allocations: 0.5253 MB / 1.071 GB, free: 480 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.963, allocations: 0.7991 MB / 1.072 GB, free: 15.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000345/0.9633, allocations: 102 kB / 1.072 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.9635, allocations: 81.53 kB / 1.072 GB, free: 15.52 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/0.9635, allocations: 0 / 1.072 GB, free: 15.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.9909, allocations: 6.299 MB / 1.079 GB, free: 9.273 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.9912, allocations: 191.7 kB / 1.079 GB, free: 9.074 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.794, allocations: 2.672 kB / 1.079 GB, free: 9.074 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)