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.674/1.674, allocations: 285.4 MB / 298 MB, free: 6 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.001029/0.001029, allocations: 184.8 kB / 366.4 MB, free: 2.102 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.478/1.478, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.0009718/0.0009717, allocations: 102 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.103e-05, allocations: 8 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6777/0.6777, allocations: 115.3 MB / 0.971 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2346/0.9124, allocations: 170.9 MB / 1.138 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.9128, allocations: 91.94 kB / 1.138 GB, free: 12.72 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.052/0.9648, allocations: 20.33 MB / 1.158 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9648, allocations: 0 / 1.158 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.9649, allocations: 4 kB / 1.158 GB, free: 8.316 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.001142/0.966, allocations: 0.5685 MB / 1.158 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.9661, allocations: 8.031 kB / 1.158 GB, free: 7.695 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.9662, allocations: 68.27 kB / 1.158 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.9674, allocations: 131.8 kB / 1.159 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.9679, allocations: 274.4 kB / 1.159 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.9679, allocations: 12.44 kB / 1.159 GB, free: 7.172 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.968, allocations: 23.98 kB / 1.159 GB, free: 7.148 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/0.9687, allocations: 399.5 kB / 1.159 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9687, allocations: 0 / 1.159 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.9687, allocations: 8 kB / 1.159 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/0.9688, allocations: 28.55 kB / 1.159 GB, free: 6.684 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/0.9694, allocations: 318 kB / 1.16 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.9721, allocations: 2.046 MB / 1.162 GB, free: 4.137 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/0.9729, allocations: 332.9 kB / 1.162 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.9733, allocations: 182 kB / 1.162 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.9734, allocations: 85.28 kB / 1.162 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.9735, allocations: 42.69 kB / 1.162 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.863e-06/0.9735, allocations: 0 / 1.162 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.004633/0.9781, allocations: 1.454 MB / 1.164 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.9782, allocations: 81.11 kB / 1.164 GB, free: 1.898 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.9785, allocations: 209 kB / 1.164 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.9785, allocations: 33.7 kB / 1.164 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.9787, allocations: 180 kB / 1.164 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/0.9788, allocations: 118.3 kB / 1.164 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.9788, allocations: 12.03 kB / 1.164 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.979, allocations: 338.8 kB / 1.165 GB, free: 1 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.9792, allocations: 166.5 kB / 1.165 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.9796, allocations: 273.2 kB / 1.165 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.9799, allocations: 207.6 kB / 1.165 GB, free: 336 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.9799, allocations: 4 kB / 1.165 GB, free: 332 kB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001115/0.9811, allocations: 0.5931 MB / 1.166 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005228/0.9816, allocations: 1.225 MB / 1.167 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.9816, allocations: 4 kB / 1.167 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.9821, allocations: 144.7 kB / 1.167 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.9826, allocations: 99.86 kB / 1.167 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.9855, allocations: 3.937 MB / 1.171 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.9859, allocations: 44.12 kB / 1.171 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.9859, allocations: 23.88 kB / 1.171 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.986, allocations: 4 kB / 1.171 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001056/0.987, allocations: 0.5557 MB / 1.172 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.987, allocations: 4 kB / 1.172 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004037/0.9874, allocations: 143.3 kB / 1.172 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.9879, allocations: 100 kB / 1.172 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006989/0.9886, allocations: 1.109 MB / 1.173 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.9889, allocations: 42.69 kB / 1.173 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.989, allocations: 16 kB / 1.173 GB, free: 7.789 MB / 0.7761 GB 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.0001629/0.9891, allocations: 126.4 kB / 1.173 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.9892, allocations: 31.67 kB / 1.173 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.9903, allocations: 0.5491 MB / 1.174 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.9903, allocations: 4 kB / 1.174 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9903, allocations: 4 kB / 1.174 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/0.9904, allocations: 3.953 kB / 1.174 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.9925, allocations: 1.273 MB / 1.175 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.9926, allocations: 4 kB / 1.175 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.9928, allocations: 64.14 kB / 1.175 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/0.9933, allocations: 153.5 kB / 1.175 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.9934, allocations: 11.95 kB / 1.175 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/0.9963, allocations: 3.964 MB / 1.179 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.9963, allocations: 4.219 kB / 1.179 GB, free: 1.145 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.9975, allocations: 0.8213 MB / 1.18 GB, free: 220 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.9978, allocations: 136.8 kB / 1.18 GB, free: 64 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.9978, allocations: 11.95 kB / 1.18 GB, free: 52 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.9982, allocations: 39.97 kB / 1.18 GB, free: 12 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.9983, allocations: 35.89 kB / 1.18 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.9983, allocations: 8 kB / 1.18 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002143/0.9985, allocations: 169.4 kB / 1.18 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9986, allocations: 0 / 1.18 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008921/0.9995, allocations: 186.8 kB / 1.18 GB, free: 15.62 MB / 0.7917 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.001658/1.001, allocations: 2.033 MB / 1.182 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001655/1.003, allocations: 1.081 MB / 1.183 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.003, allocations: 0 / 1.183 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006358/1.003, allocations: 457.3 kB / 1.184 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/1.004, allocations: 52.39 kB / 1.184 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/1.005, allocations: 0.6665 MB / 1.185 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/1.006, allocations: 0.8123 MB / 1.185 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004801/1.006, allocations: 122.1 kB / 1.186 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/1.007, allocations: 95.34 kB / 1.186 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of SimCode: time 1.693e-06/1.007, allocations: 0 / 1.186 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/1.032, allocations: 8.498 MB / 1.194 GB, free: 1.863 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/1.032, allocations: 218.4 kB / 1.194 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/3.178, allocations: 0 / 1.194 GB, free: 1.633 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)