Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.542/2.542, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001523/0.001523, allocations: 186.6 kB / 370.8 MB, free: 10.85 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.113/2.113, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001145/0.001144, allocations: 99.34 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005257/0.0005258, allocations: 11.89 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.212, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9729/1.185, allocations: 170.9 MB / 1.145 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/1.185, allocations: 95.94 kB / 1.145 GB, free: 10.92 MB / 0.6823 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.07712/1.262, allocations: 20.19 MB / 1.165 GB, free: 11.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.345e-06/1.263, allocations: 0 / 1.165 GB, free: 11.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.196e-05/1.263, allocations: 15.98 kB / 1.165 GB, free: 11.95 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.001409/1.264, allocations: 0.6022 MB / 1.166 GB, free: 11.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.264, allocations: 16.02 kB / 1.166 GB, free: 11.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/1.264, allocations: 64.53 kB / 1.166 GB, free: 11.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/1.266, allocations: 123.8 kB / 1.166 GB, free: 11.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000626/1.266, allocations: 270 kB / 1.166 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/1.267, allocations: 22.31 kB / 1.166 GB, free: 10.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/1.267, allocations: 18.56 kB / 1.166 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/1.268, allocations: 416.7 kB / 1.167 GB, free: 10.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/1.268, allocations: 3.938 kB / 1.167 GB, free: 10.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/1.268, allocations: 10.5 kB / 1.167 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.637e-05/1.268, allocations: 24.55 kB / 1.167 GB, free: 10.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/1.269, allocations: 354.1 kB / 1.167 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003802/1.273, allocations: 2.059 MB / 1.169 GB, free: 8.172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/1.274, allocations: 357.3 kB / 1.169 GB, free: 7.906 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/1.274, allocations: 89.28 kB / 1.169 GB, free: 7.801 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.274, allocations: 34.75 kB / 1.169 GB, free: 7.758 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.635e-06/1.274, allocations: 0 / 1.169 GB, free: 7.758 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.009511/1.284, allocations: 1.77 MB / 1.171 GB, free: 6.215 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/1.284, allocations: 85.05 kB / 1.171 GB, free: 6.113 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/1.284, allocations: 216.6 kB / 1.171 GB, free: 5.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.421e-05/1.285, allocations: 32.58 kB / 1.171 GB, free: 5.895 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/1.285, allocations: 176.3 kB / 1.172 GB, free: 5.742 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/1.285, allocations: 120.4 kB / 1.172 GB, free: 5.637 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/1.285, allocations: 11.19 kB / 1.172 GB, free: 5.633 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.285, allocations: 337.2 kB / 1.172 GB, free: 5.305 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007612/1.286, allocations: 207.6 kB / 1.172 GB, free: 5.164 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008282/1.287, allocations: 306.3 kB / 1.173 GB, free: 4.891 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008324/1.288, allocations: 253.8 kB / 1.173 GB, free: 4.723 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.288, allocations: 0 / 1.173 GB, free: 4.723 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00245/1.29, allocations: 0.6738 MB / 1.173 GB, free: 4.199 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000561/1.291, allocations: 1.135 MB / 1.175 GB, free: 2.996 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.291, allocations: 7.938 kB / 1.175 GB, free: 2.988 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008835/1.292, allocations: 147 kB / 1.175 GB, free: 2.855 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/1.293, allocations: 98.98 kB / 1.175 GB, free: 2.762 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004651/1.297, allocations: 3.984 MB / 1.179 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/1.298, allocations: 43.25 kB / 1.179 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/1.298, allocations: 15 kB / 1.179 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.298, allocations: 5.875 kB / 1.179 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00227/1.3, allocations: 0.6345 MB / 1.179 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.3, allocations: 0 / 1.179 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006804/1.301, allocations: 146.9 kB / 1.179 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008151/1.302, allocations: 95.44 kB / 1.18 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009672/1.303, allocations: 1.105 MB / 1.181 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/1.304, allocations: 42.45 kB / 1.181 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/1.304, allocations: 15.19 kB / 1.181 GB, free: 12.78 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.0003996/1.304, allocations: 256.2 kB / 1.181 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/1.304, allocations: 35.58 kB / 1.181 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/1.306, allocations: 0.6335 MB / 1.182 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.307, allocations: 4 kB / 1.182 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.307, allocations: 0 / 1.182 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.307, allocations: 7.984 kB / 1.182 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00366/1.31, allocations: 1.232 MB / 1.183 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.31, allocations: 4 kB / 1.183 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/1.311, allocations: 67.83 kB / 1.183 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007603/1.312, allocations: 152.1 kB / 1.183 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/1.312, allocations: 14.17 kB / 1.183 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00443/1.316, allocations: 3.993 MB / 1.187 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.316, allocations: 0 / 1.187 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/1.319, allocations: 0.8929 MB / 1.188 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/1.319, allocations: 141.2 kB / 1.188 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/1.319, allocations: 11.73 kB / 1.188 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/1.319, allocations: 35.59 kB / 1.188 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/1.32, allocations: 39.47 kB / 1.188 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/1.32, allocations: 12 kB / 1.188 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002662/1.32, allocations: 172 kB / 1.188 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.32, allocations: 0 / 1.188 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001116/1.321, allocations: 173 kB / 1.188 GB, free: 5.332 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.003059/1.324, allocations: 2.038 MB / 1.19 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003399/1.328, allocations: 1.217 MB / 1.192 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.328, allocations: 0 / 1.192 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/1.329, allocations: 497.6 kB / 1.192 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/1.33, allocations: 55.55 kB / 1.192 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/1.337, allocations: 4.09 MB / 1.196 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/1.337, allocations: 0.8117 MB / 1.197 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006617/1.338, allocations: 126.8 kB / 1.197 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/1.338, allocations: 85.66 kB / 1.197 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of SimCode: time 1.052e-06/1.338, allocations: 0 / 1.197 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04007/1.378, allocations: 8.189 MB / 1.205 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/1.379, allocations: 224 kB / 1.205 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/4.094, allocations: 0 / 1.205 GB, free: 4.848 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)