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.FixedVoltageSource.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.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.405/1.405, allocations: 249.5 MB / 257 MB, free: 6.855 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.001142/0.001142, allocations: 187.9 kB / 316.3 MB, free: 3.207 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.35/1.35, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008226/0.0008227, allocations: 90.44 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.665e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1697, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6671/0.8368, allocations: 152.3 MB / 1.034 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.8371, allocations: 101 kB / 1.034 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02936/0.8665, allocations: 12.12 MB / 1.046 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8665, allocations: 4 kB / 1.046 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.8666, allocations: 8 kB / 1.046 GB, free: 8.383 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006814/0.8672, allocations: 459.7 kB / 1.046 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.8673, allocations: 12.03 kB / 1.046 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005694/0.8679, allocations: 63.73 kB / 1.047 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.8682, allocations: 231.4 kB / 1.047 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.8682, allocations: 4 kB / 1.047 GB, free: 7.57 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.8682, allocations: 8 kB / 1.047 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002598/0.8685, allocations: 159 kB / 1.047 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.8689, allocations: 255.3 kB / 1.047 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.8689, allocations: 3.984 kB / 1.047 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.8689, allocations: 0 / 1.047 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.8689, allocations: 20.22 kB / 1.047 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.8706, allocations: 1.538 MB / 1.049 GB, free: 5.656 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.8708, allocations: 70.56 kB / 1.049 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/0.8709, allocations: 44.52 kB / 1.049 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.8709, allocations: 7.969 kB / 1.049 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.8709, allocations: 36.88 kB / 1.049 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.8709, allocations: 4 kB / 1.049 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0004558/0.8714, allocations: 170.2 kB / 1.049 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.8714, allocations: 84.53 kB / 1.049 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.8716, allocations: 185.4 kB / 1.049 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.8717, allocations: 25.7 kB / 1.049 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.8718, allocations: 163.3 kB / 1.049 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.8718, allocations: 30.36 kB / 1.049 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.8718, allocations: 0 / 1.049 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.872, allocations: 329.4 kB / 1.05 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.8721, allocations: 75.47 kB / 1.05 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.8722, allocations: 148.8 kB / 1.05 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.8725, allocations: 110.8 kB / 1.05 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8725, allocations: 0 / 1.05 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000401/0.8729, allocations: 257.5 kB / 1.05 GB, free: 4.039 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005231/0.8734, allocations: 1.144 MB / 1.051 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.8734, allocations: 4 kB / 1.051 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.8734, allocations: 4 kB / 1.051 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.8737, allocations: 47.91 kB / 1.052 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/0.8737, allocations: 7.938 kB / 1.052 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.8739, allocations: 19.97 kB / 1.052 GB, free: 2.746 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.874, allocations: 15.88 kB / 1.052 GB, free: 2.734 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.874, allocations: 5.25 kB / 1.052 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003189/0.8743, allocations: 198.3 kB / 1.052 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.8743, allocations: 0 / 1.052 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/0.8743, allocations: 7.938 kB / 1.052 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.8745, allocations: 47.97 kB / 1.052 GB, free: 2.523 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8745, allocations: 7.938 kB / 1.052 GB, free: 2.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.8747, allocations: 24.25 kB / 1.052 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.8747, allocations: 11.88 kB / 1.052 GB, free: 2.484 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.8748, allocations: 114.9 kB / 1.052 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001763/0.875, allocations: 112 kB / 1.052 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.875, allocations: 11.81 kB / 1.052 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.8752, allocations: 114.8 kB / 1.052 GB, free: 2.156 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.8752, allocations: 4 kB / 1.052 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8753, allocations: 3.953 kB / 1.052 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8753, allocations: 0 / 1.052 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.8759, allocations: 0.5687 MB / 1.053 GB, free: 1.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.876, allocations: 192 / 1.053 GB, free: 1.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.876, allocations: 28.17 kB / 1.053 GB, free: 1.543 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.8761, allocations: 7.953 kB / 1.053 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.8761, allocations: 4 kB / 1.053 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.8761, allocations: 0 / 1.053 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8761, allocations: 4 kB / 1.053 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.8764, allocations: 406.9 kB / 1.053 GB, free: 1.078 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.8765, allocations: 111.3 kB / 1.053 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.8766, allocations: 4 kB / 1.053 GB, free: 0.9531 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.8769, allocations: 7.984 kB / 1.053 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.8769, allocations: 7.938 kB / 1.053 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.8769, allocations: 4 kB / 1.053 GB, free: 0.9336 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001678/0.8771, allocations: 163.3 kB / 1.053 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.865e-06/0.8771, allocations: 4 kB / 1.053 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006095/0.8777, allocations: 79.88 kB / 1.054 GB, free: 0.7188 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009681/0.8787, allocations: 1.435 MB / 1.055 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005206/0.8793, allocations: 240.3 kB / 1.055 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8793, allocations: 4 kB / 1.055 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/0.8794, allocations: 37.3 kB / 1.055 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.8798, allocations: 24.55 kB / 1.055 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.8809, allocations: 343.9 kB / 1.056 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.8814, allocations: 0.7395 MB / 1.056 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003295/0.8817, allocations: 81.91 kB / 1.056 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.8818, allocations: 45.55 kB / 1.056 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/0.8818, allocations: 0 / 1.056 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.9065, allocations: 2.92 MB / 1.059 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.9068, allocations: 188.3 kB / 1.059 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.465, allocations: 0 / 1.059 GB, free: 10.73 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)