Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.741/1.741, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001146/0.001146, allocations: 176.9 kB / 361.4 MB, free: 6.828 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.051/2.051, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0007938/0.0007939, allocations: 95.84 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.73e-05, allocations: 4 kB / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6475, allocations: 115.3 MB / 0.9645 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2129/0.8604, allocations: 171.7 MB / 1.132 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.8607, allocations: 95.97 kB / 1.132 GB, free: 15.89 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.05017/0.9109, allocations: 20.52 MB / 1.152 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.935e-06/0.911, allocations: 0 / 1.152 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.631e-05/0.911, allocations: 8 kB / 1.152 GB, free: 11.29 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.001054/0.9121, allocations: 0.5724 MB / 1.153 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.9121, allocations: 8.031 kB / 1.153 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.9132, allocations: 122.2 kB / 1.153 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.9137, allocations: 280.6 kB / 1.153 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.9137, allocations: 8 kB / 1.153 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.9138, allocations: 12 kB / 1.153 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004164/0.9142, allocations: 252.9 kB / 1.154 GB, free: 9.969 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.9147, allocations: 362.7 kB / 1.154 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.9148, allocations: 0 / 1.154 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.9148, allocations: 11.88 kB / 1.154 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/0.9149, allocations: 28.55 kB / 1.154 GB, free: 9.535 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.9172, allocations: 1.991 MB / 1.156 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.9179, allocations: 330.7 kB / 1.156 GB, free: 7.027 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.9182, allocations: 171.7 kB / 1.156 GB, free: 6.855 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.9184, allocations: 89.27 kB / 1.156 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.9184, allocations: 34.75 kB / 1.156 GB, free: 6.707 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.9184, allocations: 0 / 1.156 GB, free: 6.707 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.002137/0.9205, allocations: 0.8694 MB / 1.157 GB, free: 5.824 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.9206, allocations: 89.08 kB / 1.157 GB, free: 5.719 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.9208, allocations: 195.8 kB / 1.158 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.9208, allocations: 27.67 kB / 1.158 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/0.9209, allocations: 180.4 kB / 1.158 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.7e-05/0.921, allocations: 114.3 kB / 1.158 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.9211, allocations: 0 / 1.158 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.9212, allocations: 334.8 kB / 1.158 GB, free: 4.859 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.9214, allocations: 156.8 kB / 1.158 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.9217, allocations: 264.2 kB / 1.159 GB, free: 4.402 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.9221, allocations: 222.8 kB / 1.159 GB, free: 4.188 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.9221, allocations: 4 kB / 1.159 GB, free: 4.184 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001094/0.9232, allocations: 0.5792 MB / 1.159 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004099/0.9237, allocations: 1.217 MB / 1.161 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.9237, allocations: 4 kB / 1.161 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004404/0.9241, allocations: 139.3 kB / 1.161 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.9246, allocations: 91.88 kB / 1.161 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.9272, allocations: 3.849 MB / 1.165 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.9276, allocations: 31.95 kB / 1.165 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.9276, allocations: 16 kB / 1.165 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.9277, allocations: 4 kB / 1.165 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001082/0.9287, allocations: 0.5175 MB / 1.165 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.9288, allocations: 4 kB / 1.165 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/0.9291, allocations: 127.7 kB / 1.165 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.9295, allocations: 101.5 kB / 1.165 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006451/0.9301, allocations: 1.113 MB / 1.166 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.9305, allocations: 35.91 kB / 1.166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.9305, allocations: 20 kB / 1.166 GB, free: 11.87 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.0001824/0.9307, allocations: 117 kB / 1.167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009052/0.9316, allocations: 494.8 kB / 1.167 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.9317, allocations: 27.72 kB / 1.167 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.9328, allocations: 0.534 MB / 1.168 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.9328, allocations: 4 kB / 1.168 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9328, allocations: 7.922 kB / 1.168 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.9328, allocations: 0 / 1.168 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.9348, allocations: 1.198 MB / 1.169 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.9348, allocations: 0 / 1.169 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.9351, allocations: 63.89 kB / 1.169 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004085/0.9356, allocations: 145.3 kB / 1.169 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.9356, allocations: 7.984 kB / 1.169 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.9385, allocations: 3.861 MB / 1.173 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.9385, allocations: 4 kB / 1.173 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.9396, allocations: 0.8078 MB / 1.174 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.9399, allocations: 140.8 kB / 1.174 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.9399, allocations: 8.047 kB / 1.174 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/0.9403, allocations: 27.97 kB / 1.174 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.9404, allocations: 39.88 kB / 1.174 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.9404, allocations: 16 kB / 1.174 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001675/0.9406, allocations: 156.4 kB / 1.174 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9406, allocations: 0 / 1.174 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008658/0.9415, allocations: 151.9 kB / 1.174 GB, free: 3.547 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.001816/0.9433, allocations: 2.017 MB / 1.176 GB, free: 1.434 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.9452, allocations: 1.02 MB / 1.177 GB, free: 360 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9452, allocations: 0 / 1.177 GB, free: 360 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006434/0.9459, allocations: 440.5 kB / 1.177 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.9464, allocations: 43.08 kB / 1.177 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.948, allocations: 0.6355 MB / 1.178 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.9484, allocations: 0.8084 MB / 1.179 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004568/0.9489, allocations: 118.9 kB / 1.179 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.9491, allocations: 88.39 kB / 1.179 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of SimCode: time 1.082e-06/0.9491, allocations: 0 / 1.179 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.9775, allocations: 7.881 MB / 1.187 GB, free: 6.363 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.9777, allocations: 188.3 kB / 1.187 GB, free: 6.164 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/3.224, allocations: 0 / 1.187 GB, free: 6.164 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)