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.FixedVoltageSource.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.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.89/1.89, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001658/0.001658, allocations: 172.9 kB / 361.4 MB, free: 6.816 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.717/1.717, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009756/0.0009753, allocations: 98.11 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.362e-05/2.37e-05, allocations: 8 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6784, allocations: 115.3 MB / 0.9645 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/0.8846, allocations: 157.7 MB / 1.118 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.8849, allocations: 91.94 kB / 1.119 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03017/0.9151, allocations: 12.13 MB / 1.13 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9151, allocations: 0 / 1.13 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.9152, allocations: 4 kB / 1.13 GB, free: 1.781 MB / 0.7292 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.0006699/0.9158, allocations: 460.3 kB / 1.131 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.9159, allocations: 8.031 kB / 1.131 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006044/0.9165, allocations: 72.77 kB / 1.131 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.9168, allocations: 227.4 kB / 1.131 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.9169, allocations: 8 kB / 1.131 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.9169, allocations: 8 kB / 1.131 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003064/0.9172, allocations: 152.2 kB / 1.131 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.9176, allocations: 252.2 kB / 1.132 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.9176, allocations: 11.91 kB / 1.132 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.9176, allocations: 0 / 1.132 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.9177, allocations: 20.2 kB / 1.132 GB, free: 480 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.9194, allocations: 1.537 MB / 1.133 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.9195, allocations: 69.14 kB / 1.133 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.227e-05/0.9196, allocations: 48.53 kB / 1.133 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.9196, allocations: 0 / 1.133 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.9196, allocations: 36.25 kB / 1.133 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.9196, allocations: 0 / 1.133 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004579/0.9201, allocations: 176.6 kB / 1.133 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.9202, allocations: 77.11 kB / 1.133 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.9204, allocations: 190.5 kB / 1.134 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.9204, allocations: 29.7 kB / 1.134 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.9205, allocations: 163.5 kB / 1.134 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.9205, allocations: 31.66 kB / 1.134 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.9205, allocations: 0 / 1.134 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.9207, allocations: 322.8 kB / 1.134 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.9208, allocations: 78.31 kB / 1.134 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.9209, allocations: 151.1 kB / 1.134 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.9212, allocations: 111.8 kB / 1.134 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9212, allocations: 0 / 1.134 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004322/0.9216, allocations: 250.7 kB / 1.135 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004781/0.9221, allocations: 1.138 MB / 1.136 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.9221, allocations: 4 kB / 1.136 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.9222, allocations: 4 kB / 1.136 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.9224, allocations: 59.89 kB / 1.136 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.9224, allocations: 7.938 kB / 1.136 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.9227, allocations: 23.88 kB / 1.136 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.9227, allocations: 12 kB / 1.136 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.9227, allocations: 4 kB / 1.136 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000352/0.9231, allocations: 191.6 kB / 1.136 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.9231, allocations: 4 kB / 1.136 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.9231, allocations: 4 kB / 1.136 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.9233, allocations: 49.78 kB / 1.136 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.9233, allocations: 12.88 kB / 1.136 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.9234, allocations: 11.98 kB / 1.136 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.9235, allocations: 12 kB / 1.136 GB, free: 11.37 MB / 0.7448 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 8.977e-05/0.9236, allocations: 116.8 kB / 1.136 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001983/0.9238, allocations: 117.4 kB / 1.136 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.9238, allocations: 11.91 kB / 1.136 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.924, allocations: 111.1 kB / 1.137 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.924, allocations: 2.062 kB / 1.137 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.9241, allocations: 11.98 kB / 1.137 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.9241, allocations: 3.953 kB / 1.137 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.9248, allocations: 0.5685 MB / 1.137 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.9248, allocations: 8.062 kB / 1.137 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.957e-05/0.9249, allocations: 23.92 kB / 1.137 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.9249, allocations: 4 kB / 1.137 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.9249, allocations: 3.953 kB / 1.137 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.9249, allocations: 7.938 kB / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.9249, allocations: 4 kB / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.9253, allocations: 399.8 kB / 1.138 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.893e-05/0.9254, allocations: 108.9 kB / 1.138 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.9254, allocations: 0 / 1.138 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.9256, allocations: 11.98 kB / 1.138 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.9256, allocations: 11.92 kB / 1.138 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.9256, allocations: 5.375 kB / 1.138 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001521/0.9258, allocations: 155.2 kB / 1.138 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9258, allocations: 0 / 1.138 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005489/0.9263, allocations: 79.92 kB / 1.138 GB, free: 9.449 MB / 0.7448 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.0009081/0.9273, allocations: 1.442 MB / 1.139 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003934/0.9277, allocations: 252.9 kB / 1.14 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.9277, allocations: 0 / 1.14 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.49e-05/0.9277, allocations: 44.34 kB / 1.14 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.9281, allocations: 26.67 kB / 1.14 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000832/0.9289, allocations: 320.9 kB / 1.14 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.9293, allocations: 0.7405 MB / 1.141 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002311/0.9296, allocations: 73.86 kB / 1.141 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.9297, allocations: 49.95 kB / 1.141 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/0.9297, allocations: 0 / 1.141 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.9533, allocations: 2.913 MB / 1.144 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.9535, allocations: 189.2 kB / 1.144 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.494, allocations: 3.938 kB / 1.144 GB, free: 3.324 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)