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.526/1.526, allocations: 249.3 MB / 261.8 MB, free: 5.859 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.001172/0.001173, allocations: 178.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001061/0.001061, allocations: 82.52 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.32e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2473, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8465/1.094, allocations: 155.1 MB / 1.043 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004219/1.094, allocations: 96.61 kB / 1.043 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07044/1.165, allocations: 17.65 MB / 1.061 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/1.165, allocations: 0 / 1.061 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.933e-05/1.165, allocations: 8 kB / 1.061 GB, free: 14.35 MB / 0.6823 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.001574/1.166, allocations: 0.6131 MB / 1.061 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/1.167, allocations: 8.031 kB / 1.061 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/1.167, allocations: 63.47 kB / 1.061 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/1.168, allocations: 99.53 kB / 1.061 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/1.169, allocations: 278.6 kB / 1.062 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/1.169, allocations: 18.67 kB / 1.062 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.585e-05/1.169, allocations: 26.48 kB / 1.062 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009169/1.17, allocations: 363.7 kB / 1.062 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.17, allocations: 7.984 kB / 1.062 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/1.17, allocations: 11.67 kB / 1.062 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.245e-05/1.17, allocations: 23.73 kB / 1.062 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008121/1.171, allocations: 320.9 kB / 1.062 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/1.174, allocations: 1.651 MB / 1.064 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/1.175, allocations: 395.1 kB / 1.064 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/1.175, allocations: 156.5 kB / 1.065 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/1.176, allocations: 89.09 kB / 1.065 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005687/1.176, allocations: 234.8 kB / 1.065 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 5.841e-06/1.176, allocations: 0 / 1.065 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.001449/1.178, allocations: 445.2 kB / 1.065 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/1.178, allocations: 81.11 kB / 1.065 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/1.178, allocations: 200.2 kB / 1.066 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/1.178, allocations: 32.58 kB / 1.066 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/1.178, allocations: 161.5 kB / 1.066 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/1.178, allocations: 90.75 kB / 1.066 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/1.178, allocations: 10.81 kB / 1.066 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.179, allocations: 337.9 kB / 1.066 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/1.179, allocations: 128.6 kB / 1.066 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/1.179, allocations: 212.9 kB / 1.066 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/1.18, allocations: 186.7 kB / 1.067 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.18, allocations: 0 / 1.067 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00123/1.181, allocations: 473.7 kB / 1.067 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004454/1.181, allocations: 0.909 MB / 1.068 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.181, allocations: 4 kB / 1.068 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/1.182, allocations: 40.27 kB / 1.068 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/1.183, allocations: 91.86 kB / 1.068 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/1.185, allocations: 1.492 MB / 1.07 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/1.185, allocations: 43.23 kB / 1.07 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/1.185, allocations: 19.44 kB / 1.07 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.185, allocations: 4 kB / 1.07 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00117/1.187, allocations: 417.9 kB / 1.07 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.187, allocations: 0 / 1.07 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/1.187, allocations: 43.95 kB / 1.07 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/1.187, allocations: 91.2 kB / 1.07 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/1.189, allocations: 1.481 MB / 1.072 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/1.19, allocations: 51.61 kB / 1.072 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/1.19, allocations: 15.06 kB / 1.072 GB, free: 3.715 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.00021/1.19, allocations: 127.7 kB / 1.072 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/1.19, allocations: 23.72 kB / 1.072 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/1.191, allocations: 410.2 kB / 1.072 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.191, allocations: 4 kB / 1.072 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.191, allocations: 4 kB / 1.072 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.191, allocations: 0 / 1.072 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/1.192, allocations: 0.5665 MB / 1.073 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.192, allocations: 4 kB / 1.073 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006351/1.193, allocations: 79.84 kB / 1.073 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/1.193, allocations: 39.14 kB / 1.073 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/1.193, allocations: 3.938 kB / 1.073 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/1.195, allocations: 1.412 MB / 1.074 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.195, allocations: 3.953 kB / 1.074 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/1.196, allocations: 0.498 MB / 1.075 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/1.196, allocations: 138 kB / 1.075 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/1.196, allocations: 11.38 kB / 1.075 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/1.197, allocations: 38.64 kB / 1.075 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/1.197, allocations: 30.02 kB / 1.075 GB, free: 484 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/1.197, allocations: 11.31 kB / 1.075 GB, free: 476 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002964/1.197, allocations: 172.8 kB / 1.075 GB, free: 328 kB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/1.197, allocations: 4 kB / 1.075 GB, free: 324 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001049/1.199, allocations: 145 kB / 1.075 GB, free: 196 kB / 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.001815/1.2, allocations: 1.283 MB / 1.077 GB, free: 14.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001998/1.202, allocations: 0.8645 MB / 1.077 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.202, allocations: 0 / 1.077 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006468/1.203, allocations: 290.1 kB / 1.078 GB, free: 13.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/1.204, allocations: 39.28 kB / 1.078 GB, free: 13.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/1.206, allocations: 0.5487 MB / 1.078 GB, free: 13.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/1.206, allocations: 0.794 MB / 1.079 GB, free: 12.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005819/1.207, allocations: 106 kB / 1.079 GB, free: 12.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/1.207, allocations: 81.78 kB / 1.079 GB, free: 12.48 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/1.207, allocations: 0 / 1.079 GB, free: 12.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/1.236, allocations: 6.884 MB / 1.086 GB, free: 5.809 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/1.236, allocations: 212.5 kB / 1.086 GB, free: 5.586 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/3.381, allocations: 0 / 1.086 GB, free: 5.586 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)