Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 184.3 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008544/0.0008543, allocations: 84.66 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.843e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1827, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6937/0.8765, allocations: 164.9 MB / 1.046 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.8768, allocations: 91.56 kB / 1.046 GB, free: 6.906 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.04758/0.9244, allocations: 20.27 MB / 1.066 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9245, allocations: 0 / 1.066 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.9245, allocations: 4 kB / 1.066 GB, free: 6.227 MB / 0.6823 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.0008224/0.9253, allocations: 0.5719 MB / 1.067 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.9254, allocations: 8.031 kB / 1.067 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008926/0.9263, allocations: 123.7 kB / 1.067 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.9267, allocations: 282.2 kB / 1.067 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.9267, allocations: 8 kB / 1.067 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.9267, allocations: 12 kB / 1.067 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003814/0.9271, allocations: 254.4 kB / 1.067 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004658/0.9276, allocations: 361.1 kB / 1.068 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.9276, allocations: 0 / 1.068 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.9276, allocations: 4 kB / 1.068 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.9277, allocations: 31.91 kB / 1.068 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.9299, allocations: 2.002 MB / 1.07 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005968/0.9305, allocations: 328.6 kB / 1.07 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.9308, allocations: 174.4 kB / 1.07 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.553e-05/0.9309, allocations: 89.28 kB / 1.07 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.9309, allocations: 38.06 kB / 1.07 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.9309, allocations: 0 / 1.07 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.001907/0.9328, allocations: 0.8744 MB / 1.071 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.9329, allocations: 81.11 kB / 1.071 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.9331, allocations: 188.2 kB / 1.072 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.9331, allocations: 29.69 kB / 1.072 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/0.9332, allocations: 188.5 kB / 1.072 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/0.9333, allocations: 116.4 kB / 1.072 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.9333, allocations: 0 / 1.072 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.9334, allocations: 336.5 kB / 1.072 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.9336, allocations: 159.7 kB / 1.072 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.9339, allocations: 265.2 kB / 1.073 GB, free: 276 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.9343, allocations: 217.3 kB / 1.073 GB, free: 124 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9343, allocations: 7.938 kB / 1.073 GB, free: 116 kB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009749/0.9353, allocations: 0.5743 MB / 1.073 GB, free: 15.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004522/0.9357, allocations: 1.224 MB / 1.075 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.9358, allocations: 4 kB / 1.075 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003861/0.9362, allocations: 131.5 kB / 1.075 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.9366, allocations: 101.2 kB / 1.075 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.9392, allocations: 3.831 MB / 1.078 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.9396, allocations: 40.02 kB / 1.079 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.9396, allocations: 15.12 kB / 1.079 GB, free: 10.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.9396, allocations: 4 kB / 1.079 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009905/0.9406, allocations: 0.5162 MB / 1.079 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.9407, allocations: 4 kB / 1.079 GB, free: 9.781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/0.9409, allocations: 122.5 kB / 1.079 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.9413, allocations: 103.1 kB / 1.079 GB, free: 9.578 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006231/0.942, allocations: 1.103 MB / 1.08 GB, free: 8.453 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.9423, allocations: 43.23 kB / 1.08 GB, free: 8.414 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.9423, allocations: 27.75 kB / 1.08 GB, free: 8.391 MB / 0.698 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.0001932/0.9425, allocations: 113.6 kB / 1.081 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009083/0.9434, allocations: 495.1 kB / 1.081 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.9435, allocations: 27.72 kB / 1.081 GB, free: 7.863 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009831/0.9445, allocations: 0.5353 MB / 1.082 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.9445, allocations: 8 kB / 1.082 GB, free: 7.449 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.9445, allocations: 0 / 1.082 GB, free: 7.449 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.9445, allocations: 0 / 1.082 GB, free: 7.449 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.9466, allocations: 1.193 MB / 1.083 GB, free: 6.391 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.9466, allocations: 256 / 1.083 GB, free: 6.391 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.9469, allocations: 71.45 kB / 1.083 GB, free: 6.324 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003901/0.9473, allocations: 135.6 kB / 1.083 GB, free: 6.203 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.9473, allocations: 11.19 kB / 1.083 GB, free: 6.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.9503, allocations: 3.865 MB / 1.087 GB, free: 2.262 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.9503, allocations: 4 kB / 1.087 GB, free: 2.258 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.9513, allocations: 0.8034 MB / 1.087 GB, free: 1.477 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.9515, allocations: 142.7 kB / 1.088 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.9516, allocations: 4 kB / 1.088 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.9519, allocations: 31.97 kB / 1.088 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.952, allocations: 31.77 kB / 1.088 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.952, allocations: 15.69 kB / 1.088 GB, free: 1.258 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001436/0.9521, allocations: 151.3 kB / 1.088 GB, free: 1.137 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9522, allocations: 4 kB / 1.088 GB, free: 1.133 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008423/0.953, allocations: 159.5 kB / 1.088 GB, free: 0.9805 MB / 0.698 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.001598/0.9546, allocations: 2.012 MB / 1.09 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.9561, allocations: 1.022 MB / 1.091 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9561, allocations: 0.5 kB / 1.091 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005581/0.9567, allocations: 443 kB / 1.091 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.9571, allocations: 40.2 kB / 1.091 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.9585, allocations: 0.6332 MB / 1.092 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.959, allocations: 0.8145 MB / 1.093 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003736/0.9594, allocations: 119.2 kB / 1.093 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.9595, allocations: 90.02 kB / 1.093 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.9595, allocations: 4 kB / 1.093 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.9886, allocations: 7.876 MB / 1.101 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/0.9889, allocations: 167.1 kB / 1.101 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/3.063, allocations: 5.984 kB / 1.101 GB, free: 4.082 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)