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.636/1.636, allocations: 288.2 MB / 303.2 MB, free: 8.078 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.00105/0.00105, allocations: 189 kB / 371.8 MB, free: 10.14 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.521/1.521, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009273/0.000927, allocations: 94.84 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003675, allocations: 15.55 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1997, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.63/0.8298, allocations: 171 MB / 1.146 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.8302, allocations: 97.28 kB / 1.147 GB, free: 10.71 MB / 0.6823 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.04631/0.8765, allocations: 20.48 MB / 1.167 GB, free: 10.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.215e-06/0.8765, allocations: 0 / 1.167 GB, free: 10.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.718e-05/0.8766, allocations: 4 kB / 1.167 GB, free: 10.73 MB / 0.698 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.001102/0.8777, allocations: 0.5969 MB / 1.167 GB, free: 10.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8777, allocations: 8.031 kB / 1.167 GB, free: 10.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.8778, allocations: 63.34 kB / 1.167 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.8789, allocations: 123.5 kB / 1.167 GB, free: 9.922 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.8793, allocations: 273.2 kB / 1.168 GB, free: 9.633 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.8794, allocations: 11.81 kB / 1.168 GB, free: 9.625 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.8794, allocations: 30.86 kB / 1.168 GB, free: 9.602 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006494/0.8801, allocations: 405.3 kB / 1.168 GB, free: 9.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.8801, allocations: 8 kB / 1.168 GB, free: 9.262 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.8801, allocations: 14.23 kB / 1.168 GB, free: 9.254 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.8802, allocations: 27.55 kB / 1.168 GB, free: 9.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.8808, allocations: 358.6 kB / 1.168 GB, free: 8.977 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/0.8834, allocations: 2.052 MB / 1.17 GB, free: 6.957 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/0.8842, allocations: 352.7 kB / 1.171 GB, free: 6.695 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.8844, allocations: 92.84 kB / 1.171 GB, free: 6.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.8844, allocations: 34.75 kB / 1.171 GB, free: 6.547 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.294e-06/0.8844, allocations: 0 / 1.171 GB, free: 6.547 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.005079/0.8895, allocations: 1.771 MB / 1.173 GB, free: 5.004 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.8896, allocations: 81.11 kB / 1.173 GB, free: 4.906 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.8898, allocations: 208.3 kB / 1.173 GB, free: 4.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.8898, allocations: 36.31 kB / 1.173 GB, free: 4.695 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.8899, allocations: 177.3 kB / 1.173 GB, free: 4.539 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.89, allocations: 124.2 kB / 1.173 GB, free: 4.434 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.8901, allocations: 6.938 kB / 1.173 GB, free: 4.434 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.8902, allocations: 340.9 kB / 1.174 GB, free: 4.102 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.8908, allocations: 205.7 kB / 1.174 GB, free: 3.961 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.8912, allocations: 311.9 kB / 1.174 GB, free: 3.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.8917, allocations: 253.9 kB / 1.174 GB, free: 3.516 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8917, allocations: 0 / 1.174 GB, free: 3.516 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001846/0.8935, allocations: 0.6798 MB / 1.175 GB, free: 2.984 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004915/0.894, allocations: 1.136 MB / 1.176 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.8941, allocations: 0 / 1.176 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007111/0.8948, allocations: 148.3 kB / 1.176 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005941/0.8954, allocations: 99.5 kB / 1.176 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004011/0.8994, allocations: 3.981 MB / 1.18 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/0.9, allocations: 38.22 kB / 1.18 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.9001, allocations: 19.36 kB / 1.18 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.9001, allocations: 5.594 kB / 1.18 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001734/0.9018, allocations: 0.6313 MB / 1.181 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.9019, allocations: 4 kB / 1.181 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/0.9024, allocations: 150 kB / 1.181 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.903, allocations: 98.94 kB / 1.181 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009021/0.9039, allocations: 1.107 MB / 1.182 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.9044, allocations: 39.22 kB / 1.182 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.9045, allocations: 15.88 kB / 1.182 GB, free: 11.57 MB / 0.7136 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 () * Number of clocked 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.0003927/0.9049, allocations: 249.8 kB / 1.182 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.905, allocations: 31.62 kB / 1.182 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.9068, allocations: 0.6344 MB / 1.183 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.9068, allocations: 4 kB / 1.183 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.9069, allocations: 7.938 kB / 1.183 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.9069, allocations: 7.969 kB / 1.183 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/0.9099, allocations: 1.232 MB / 1.184 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.9099, allocations: 4 kB / 1.184 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.9103, allocations: 72.11 kB / 1.184 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007025/0.911, allocations: 151.1 kB / 1.185 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.9111, allocations: 15.61 kB / 1.185 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003694/0.9148, allocations: 3.988 MB / 1.188 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.9148, allocations: 4.031 kB / 1.188 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.9166, allocations: 0.8974 MB / 1.189 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.917, allocations: 137.9 kB / 1.189 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.008e-05/0.9171, allocations: 13.17 kB / 1.189 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/0.9176, allocations: 34.28 kB / 1.19 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.9177, allocations: 38.72 kB / 1.19 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.9178, allocations: 15.31 kB / 1.19 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002625/0.918, allocations: 167.2 kB / 1.19 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9181, allocations: 0 / 1.19 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001364/0.9194, allocations: 178.2 kB / 1.19 GB, free: 4.113 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.002638/0.9221, allocations: 2.016 MB / 1.192 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002761/0.9249, allocations: 1.223 MB / 1.193 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.9249, allocations: 4.375 kB / 1.193 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007889/0.9257, allocations: 0.4945 MB / 1.194 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.9262, allocations: 54.89 kB / 1.194 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005967/0.9322, allocations: 4.089 MB / 1.198 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.9327, allocations: 0.8103 MB / 1.198 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005803/0.9333, allocations: 122.8 kB / 1.199 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.9335, allocations: 87.97 kB / 1.199 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of SimCode: time 1.483e-06/0.9335, allocations: 0 / 1.199 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.96, allocations: 8.194 MB / 1.207 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.9603, allocations: 259.3 kB / 1.207 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/3, allocations: 0 / 1.207 GB, free: 3.582 MB / 0.7292 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)