Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_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.707/1.707, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001136/0.001136, allocations: 184.9 kB / 361.4 MB, free: 6.855 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.84/1.84, allocations: 205.3 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.0009929/0.0009931, allocations: 92.8 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.632e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8064/0.8065, allocations: 115.3 MB / 0.9645 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2768/1.083, allocations: 170.2 MB / 1.131 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/1.084, allocations: 95.58 kB / 1.131 GB, free: 1.434 MB / 0.7292 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.04958/1.133, allocations: 20.26 MB / 1.151 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.513e-06/1.133, allocations: 0 / 1.151 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.543e-05/1.133, allocations: 8 kB / 1.151 GB, free: 13.11 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.00102/1.134, allocations: 0.5656 MB / 1.151 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.135, allocations: 12.03 kB / 1.151 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/1.136, allocations: 127.4 kB / 1.151 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/1.136, allocations: 270.8 kB / 1.152 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/1.136, allocations: 8 kB / 1.152 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/1.136, allocations: 12 kB / 1.152 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005021/1.137, allocations: 256.8 kB / 1.152 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/1.137, allocations: 362.8 kB / 1.152 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.137, allocations: 0 / 1.152 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/1.137, allocations: 3.938 kB / 1.152 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/1.137, allocations: 26.36 kB / 1.152 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/1.14, allocations: 2.003 MB / 1.154 GB, free: 9.184 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008408/1.141, allocations: 325.5 kB / 1.154 GB, free: 8.848 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/1.141, allocations: 170 kB / 1.155 GB, free: 8.676 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/1.141, allocations: 89.3 kB / 1.155 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.141, allocations: 38.69 kB / 1.155 GB, free: 8.523 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/1.141, allocations: 0 / 1.155 GB, free: 8.523 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.002665/1.144, allocations: 0.8664 MB / 1.156 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.144, allocations: 85.05 kB / 1.156 GB, free: 7.543 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/1.144, allocations: 199.8 kB / 1.156 GB, free: 7.344 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/1.144, allocations: 25.7 kB / 1.156 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/1.144, allocations: 184.3 kB / 1.156 GB, free: 7.129 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/1.144, allocations: 114.3 kB / 1.156 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/1.144, allocations: 0 / 1.156 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.145, allocations: 338.8 kB / 1.156 GB, free: 6.676 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/1.145, allocations: 152.8 kB / 1.157 GB, free: 6.523 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/1.145, allocations: 260.3 kB / 1.157 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/1.146, allocations: 227.2 kB / 1.157 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.146, allocations: 3.953 kB / 1.157 GB, free: 6.004 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001472/1.147, allocations: 0.579 MB / 1.158 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006448/1.148, allocations: 1.225 MB / 1.159 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/1.148, allocations: 7.984 kB / 1.159 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/1.149, allocations: 123.4 kB / 1.159 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/1.149, allocations: 103.9 kB / 1.159 GB, free: 3.848 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/1.153, allocations: 3.832 MB / 1.163 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/1.154, allocations: 36.11 kB / 1.163 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/1.154, allocations: 12 kB / 1.163 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.154, allocations: 4 kB / 1.163 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001449/1.155, allocations: 0.5233 MB / 1.163 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.155, allocations: 4 kB / 1.163 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/1.156, allocations: 127.3 kB / 1.164 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/1.156, allocations: 96.03 kB / 1.164 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008217/1.157, allocations: 1.12 MB / 1.165 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/1.157, allocations: 36.14 kB / 1.165 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/1.157, allocations: 16 kB / 1.165 GB, free: 13.69 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.000185/1.158, allocations: 110.5 kB / 1.165 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008806/1.159, allocations: 497.4 kB / 1.165 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/1.159, allocations: 23.72 kB / 1.165 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009923/1.16, allocations: 0.5311 MB / 1.166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/1.16, allocations: 11.98 kB / 1.166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/1.16, allocations: 3.938 kB / 1.166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.16, allocations: 0 / 1.166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/1.161, allocations: 1.191 MB / 1.167 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.162, allocations: 4.25 kB / 1.167 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/1.162, allocations: 71.89 kB / 1.167 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000351/1.162, allocations: 139.3 kB / 1.167 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/1.162, allocations: 11.98 kB / 1.167 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/1.165, allocations: 3.855 MB / 1.171 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/1.165, allocations: 7.969 kB / 1.171 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/1.166, allocations: 0.8077 MB / 1.172 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/1.166, allocations: 136.7 kB / 1.172 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/1.166, allocations: 5.688 kB / 1.172 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/1.166, allocations: 38.78 kB / 1.172 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/1.166, allocations: 35.89 kB / 1.172 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/1.166, allocations: 8 kB / 1.172 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001625/1.167, allocations: 156.4 kB / 1.172 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/1.167, allocations: 8 kB / 1.172 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008693/1.168, allocations: 159.9 kB / 1.172 GB, free: 5.363 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.001566/1.169, allocations: 2.011 MB / 1.174 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001449/1.171, allocations: 1.016 MB / 1.175 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.171, allocations: 4.5 kB / 1.175 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000538/1.171, allocations: 439.5 kB / 1.176 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/1.172, allocations: 49.06 kB / 1.176 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/1.173, allocations: 0.6266 MB / 1.176 GB, free: 1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/1.173, allocations: 0.8162 MB / 1.177 GB, free: 160 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000352/1.173, allocations: 117.5 kB / 1.177 GB, free: 40 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/1.174, allocations: 87.48 kB / 1.177 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of SimCode: time 6.41e-07/1.174, allocations: 7.938 kB / 1.177 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/1.202, allocations: 7.87 MB / 1.185 GB, free: 8.199 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/1.203, allocations: 170.4 kB / 1.185 GB, free: 8.012 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/3.373, allocations: 0 / 1.185 GB, free: 8.012 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)