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.656/2.656, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001458/0.001458, allocations: 184.9 kB / 360.6 MB, free: 7.27 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.237/2.237, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001039/0.001038, allocations: 90.05 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.374e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8511/0.8512, allocations: 115.2 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2998/1.151, allocations: 170.2 MB / 1.13 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003789/1.151, allocations: 93.34 kB / 1.13 GB, free: 2.09 MB / 0.7292 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.08383/1.235, allocations: 19.98 MB / 1.149 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.864e-06/1.235, allocations: 0 / 1.149 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.9e-05/1.235, allocations: 8 kB / 1.149 GB, free: 14.03 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.001273/1.237, allocations: 0.5763 MB / 1.15 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/1.237, allocations: 12.03 kB / 1.15 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/1.238, allocations: 123.8 kB / 1.15 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005698/1.239, allocations: 274.4 kB / 1.15 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/1.239, allocations: 8 kB / 1.15 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/1.239, allocations: 12 kB / 1.15 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000704/1.24, allocations: 252.9 kB / 1.15 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/1.241, allocations: 363.1 kB / 1.151 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/1.241, allocations: 0 / 1.151 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/1.241, allocations: 0 / 1.151 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-05/1.241, allocations: 24.55 kB / 1.151 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003659/1.244, allocations: 2.004 MB / 1.153 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/1.246, allocations: 334.6 kB / 1.153 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/1.246, allocations: 170 kB / 1.153 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/1.246, allocations: 93.27 kB / 1.153 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/1.246, allocations: 38.75 kB / 1.153 GB, free: 9.441 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 3.296e-06/1.246, allocations: 4 kB / 1.153 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.003389/1.25, allocations: 0.867 MB / 1.154 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/1.25, allocations: 81.11 kB / 1.154 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/1.25, allocations: 195.8 kB / 1.155 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/1.25, allocations: 25.7 kB / 1.155 GB, free: 8.234 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/1.25, allocations: 180.4 kB / 1.155 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/1.25, allocations: 110.3 kB / 1.155 GB, free: 7.945 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/1.251, allocations: 7.969 kB / 1.155 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.251, allocations: 342.8 kB / 1.155 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/1.251, allocations: 152.2 kB / 1.155 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/1.252, allocations: 268.2 kB / 1.156 GB, free: 7.141 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/1.252, allocations: 218.8 kB / 1.156 GB, free: 6.93 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.252, allocations: 0 / 1.156 GB, free: 6.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001842/1.254, allocations: 0.5759 MB / 1.156 GB, free: 6.336 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005801/1.255, allocations: 1.226 MB / 1.158 GB, free: 5.016 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.255, allocations: 4 kB / 1.158 GB, free: 5.012 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006308/1.255, allocations: 131.3 kB / 1.158 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/1.256, allocations: 99.88 kB / 1.158 GB, free: 4.773 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/1.26, allocations: 3.835 MB / 1.161 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000682/1.261, allocations: 31.97 kB / 1.162 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/1.261, allocations: 19.98 kB / 1.162 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.261, allocations: 8.125 kB / 1.162 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001701/1.263, allocations: 0.5104 MB / 1.162 GB, free: 76 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.263, allocations: 11.97 kB / 1.162 GB, free: 64 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/1.264, allocations: 119.4 kB / 1.162 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/1.264, allocations: 99.88 kB / 1.162 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/1.265, allocations: 1.12 MB / 1.163 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/1.266, allocations: 27.97 kB / 1.163 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/1.266, allocations: 24.17 kB / 1.163 GB, free: 14.61 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.0002826/1.266, allocations: 125.1 kB / 1.164 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001535/1.268, allocations: 492 kB / 1.164 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.268, allocations: 31.75 kB / 1.164 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/1.27, allocations: 0.5332 MB / 1.165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/1.27, allocations: 7.984 kB / 1.165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.27, allocations: 0 / 1.165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/1.27, allocations: 0 / 1.165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/1.273, allocations: 1.2 MB / 1.166 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/1.273, allocations: 2.188 kB / 1.166 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/1.274, allocations: 76.14 kB / 1.166 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006339/1.274, allocations: 139.3 kB / 1.166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/1.274, allocations: 0 / 1.166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/1.278, allocations: 3.866 MB / 1.17 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/1.278, allocations: 4 kB / 1.17 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/1.28, allocations: 0.7994 MB / 1.17 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/1.28, allocations: 144.7 kB / 1.171 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/1.281, allocations: 4 kB / 1.171 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/1.281, allocations: 31.97 kB / 1.171 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.281, allocations: 31.95 kB / 1.171 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/1.281, allocations: 12 kB / 1.171 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002252/1.282, allocations: 156.4 kB / 1.171 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.21e-07/1.282, allocations: 0 / 1.171 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001113/1.283, allocations: 151.9 kB / 1.171 GB, free: 6.297 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.002406/1.285, allocations: 2.008 MB / 1.173 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002367/1.288, allocations: 1.035 MB / 1.174 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.288, allocations: 1.312 kB / 1.174 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009587/1.289, allocations: 436.1 kB / 1.174 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/1.289, allocations: 51.19 kB / 1.174 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/1.291, allocations: 0.6309 MB / 1.175 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/1.292, allocations: 0.8123 MB / 1.176 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000681/1.292, allocations: 118.9 kB / 1.176 GB, free: 0.9609 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/1.293, allocations: 89.78 kB / 1.176 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of SimCode: time 1.032e-06/1.293, allocations: 0 / 1.176 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05672/1.349, allocations: 7.885 MB / 1.184 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003524/1.35, allocations: 161.8 kB / 1.184 GB, free: 8.93 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/4.136, allocations: 0 / 1.184 GB, free: 8.93 MB / 0.7917 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)