Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.496/2.496, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.001494/0.001494, allocations: 184.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001044/0.001044, allocations: 99.38 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.081e-05, allocations: 4 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8164/0.8164, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2869/1.103, allocations: 171.7 MB / 1.131 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/1.104, allocations: 94.16 kB / 1.131 GB, free: 0.582 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.08691/1.191, allocations: 20.25 MB / 1.151 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.933e-06/1.191, allocations: 0 / 1.151 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.278e-05/1.191, allocations: 8 kB / 1.151 GB, free: 12.26 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001312/1.192, allocations: 0.5724 MB / 1.152 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.192, allocations: 8.031 kB / 1.152 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/1.194, allocations: 119.8 kB / 1.152 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/1.195, allocations: 278.4 kB / 1.152 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/1.195, allocations: 8 kB / 1.152 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/1.195, allocations: 16 kB / 1.152 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000721/1.195, allocations: 252.9 kB / 1.152 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008179/1.196, allocations: 355.2 kB / 1.152 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/1.196, allocations: 0 / 1.152 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/1.196, allocations: 4 kB / 1.153 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.519e-05/1.196, allocations: 32.55 kB / 1.153 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/1.2, allocations: 2.011 MB / 1.154 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/1.202, allocations: 325.5 kB / 1.155 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/1.202, allocations: 170 kB / 1.155 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/1.202, allocations: 89.28 kB / 1.155 GB, free: 7.719 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/1.202, allocations: 34.75 kB / 1.155 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.785e-06/1.202, allocations: 0 / 1.155 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.003612/1.206, allocations: 0.8696 MB / 1.156 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/1.206, allocations: 81.11 kB / 1.156 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/1.207, allocations: 195.9 kB / 1.156 GB, free: 6.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/1.207, allocations: 25.7 kB / 1.156 GB, free: 6.469 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/1.207, allocations: 184.3 kB / 1.156 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/1.207, allocations: 122.2 kB / 1.157 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/1.207, allocations: 0 / 1.157 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.207, allocations: 330.8 kB / 1.157 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/1.208, allocations: 156.8 kB / 1.157 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/1.208, allocations: 261 kB / 1.157 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008065/1.209, allocations: 226.7 kB / 1.157 GB, free: 5.156 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.209, allocations: 4 kB / 1.157 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001918/1.211, allocations: 0.5762 MB / 1.158 GB, free: 4.559 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005851/1.211, allocations: 1.221 MB / 1.159 GB, free: 3.242 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.212, allocations: 2.031 kB / 1.159 GB, free: 3.242 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006749/1.212, allocations: 135.3 kB / 1.159 GB, free: 3.098 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/1.213, allocations: 102.3 kB / 1.159 GB, free: 3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/1.217, allocations: 3.837 MB / 1.163 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/1.218, allocations: 36.2 kB / 1.163 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/1.218, allocations: 16 kB / 1.163 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.218, allocations: 5.094 kB / 1.163 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001791/1.22, allocations: 0.5167 MB / 1.164 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.22, allocations: 6.266 kB / 1.164 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005092/1.221, allocations: 123.4 kB / 1.164 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008191/1.221, allocations: 100 kB / 1.164 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009679/1.222, allocations: 1.116 MB / 1.165 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005651/1.223, allocations: 36.14 kB / 1.165 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/1.223, allocations: 16 kB / 1.165 GB, free: 12.84 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002735/1.223, allocations: 117.3 kB / 1.165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001613/1.225, allocations: 494.3 kB / 1.166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/1.225, allocations: 23.72 kB / 1.166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/1.227, allocations: 0.5415 MB / 1.166 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/1.227, allocations: 4 kB / 1.166 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.227, allocations: 3.938 kB / 1.166 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/1.227, allocations: 4 kB / 1.166 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/1.23, allocations: 1.194 MB / 1.167 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.23, allocations: 4 kB / 1.167 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/1.231, allocations: 63.89 kB / 1.167 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006339/1.231, allocations: 143.4 kB / 1.168 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/1.231, allocations: 10.69 kB / 1.168 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004176/1.236, allocations: 3.856 MB / 1.171 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/1.236, allocations: 4.031 kB / 1.171 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/1.238, allocations: 0.797 MB / 1.172 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/1.238, allocations: 148.7 kB / 1.172 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/1.238, allocations: 4 kB / 1.172 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/1.238, allocations: 32.89 kB / 1.172 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.239, allocations: 23.97 kB / 1.172 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/1.239, allocations: 20 kB / 1.172 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002226/1.239, allocations: 152.5 kB / 1.173 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.204e-06/1.239, allocations: 0 / 1.173 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001111/1.24, allocations: 155.9 kB / 1.173 GB, free: 4.535 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002517/1.243, allocations: 2.02 MB / 1.175 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002447/1.245, allocations: 1.028 MB / 1.176 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.245, allocations: 8.125 kB / 1.176 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009899/1.246, allocations: 431.5 kB / 1.176 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/1.247, allocations: 44.95 kB / 1.176 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/1.249, allocations: 0.6387 MB / 1.177 GB, free: 144 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/1.249, allocations: 0.8084 MB / 1.178 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0007269/1.25, allocations: 121.8 kB / 1.178 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/1.25, allocations: 91.41 kB / 1.178 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of SimCode: time 1.172e-06/1.25, allocations: 0 / 1.178 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05674/1.307, allocations: 7.878 MB / 1.185 GB, free: 7.352 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003632/1.308, allocations: 176.7 kB / 1.186 GB, free: 7.156 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/4.011, allocations: 1.688 kB / 1.186 GB, free: 7.156 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)