Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001074/0.001074, allocations: 180.9 kB / 366.7 MB, free: 1.652 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.565/1.565, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008682/0.0008682, allocations: 89.95 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.945e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.6798, allocations: 116.3 MB / 0.9734 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/0.906, allocations: 171.2 MB / 1.141 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.9063, allocations: 100.7 kB / 1.141 GB, free: 10.81 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.04951/0.9559, allocations: 20.25 MB / 1.16 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9559, allocations: 0 / 1.16 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.9559, allocations: 11.98 kB / 1.16 GB, free: 6.461 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.0008713/0.9568, allocations: 0.5685 MB / 1.161 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.9569, allocations: 8.031 kB / 1.161 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009338/0.9578, allocations: 123.4 kB / 1.161 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.9582, allocations: 279.6 kB / 1.161 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.9582, allocations: 4 kB / 1.161 GB, free: 5.398 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.9583, allocations: 16 kB / 1.161 GB, free: 5.383 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004004/0.9587, allocations: 252.9 kB / 1.162 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.9592, allocations: 362.7 kB / 1.162 GB, free: 4.75 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.9592, allocations: 3.938 kB / 1.162 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.9593, allocations: 7.938 kB / 1.162 GB, free: 4.738 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.9593, allocations: 26.36 kB / 1.162 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.9615, allocations: 1.995 MB / 1.164 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.9621, allocations: 332.5 kB / 1.164 GB, free: 2.199 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.9625, allocations: 174 kB / 1.164 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.9626, allocations: 81.3 kB / 1.165 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.9626, allocations: 42.75 kB / 1.165 GB, free: 1.875 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/0.9626, allocations: 0 / 1.165 GB, free: 1.875 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.002135/0.9648, allocations: 0.875 MB / 1.165 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.9648, allocations: 81.11 kB / 1.166 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.965, allocations: 191.9 kB / 1.166 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.9651, allocations: 25.7 kB / 1.166 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.9652, allocations: 184.3 kB / 1.166 GB, free: 496 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.88e-05/0.9653, allocations: 116.3 kB / 1.166 GB, free: 380 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.9653, allocations: 0 / 1.166 GB, free: 380 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.9654, allocations: 338.8 kB / 1.166 GB, free: 32 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.9656, allocations: 152.8 kB / 1.166 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.9659, allocations: 268.2 kB / 1.167 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.9663, allocations: 223.5 kB / 1.167 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.9663, allocations: 3.953 kB / 1.167 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001048/0.9674, allocations: 0.5725 MB / 1.168 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004393/0.9679, allocations: 1.226 MB / 1.169 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.9679, allocations: 4 kB / 1.169 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003854/0.9683, allocations: 131.3 kB / 1.169 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.9687, allocations: 99.86 kB / 1.169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.9713, allocations: 3.84 MB / 1.173 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.9717, allocations: 35.95 kB / 1.173 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.9718, allocations: 20.16 kB / 1.173 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.9718, allocations: 4 kB / 1.173 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009906/0.9728, allocations: 0.5203 MB / 1.173 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.9728, allocations: 4 kB / 1.173 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002687/0.9731, allocations: 119.4 kB / 1.173 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.9735, allocations: 107.8 kB / 1.173 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005895/0.9741, allocations: 1.113 MB / 1.175 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.9744, allocations: 38.39 kB / 1.175 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.9744, allocations: 16 kB / 1.175 GB, free: 7.039 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.0001644/0.9746, allocations: 110.6 kB / 1.175 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009346/0.9755, allocations: 0.4912 MB / 1.175 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/0.9756, allocations: 23.72 kB / 1.175 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.9766, allocations: 0.5284 MB / 1.176 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.9766, allocations: 7.938 kB / 1.176 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9766, allocations: 8 kB / 1.176 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.9766, allocations: 0 / 1.176 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.9785, allocations: 1.186 MB / 1.177 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.9785, allocations: 4 kB / 1.177 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.9788, allocations: 72.14 kB / 1.177 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004003/0.9792, allocations: 143.3 kB / 1.177 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.9792, allocations: 6.312 kB / 1.177 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.9819, allocations: 3.859 MB / 1.181 GB, free: 196 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.982, allocations: 0 / 1.181 GB, free: 196 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.9831, allocations: 0.8085 MB / 1.182 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.9833, allocations: 144.7 kB / 1.182 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.9834, allocations: 4.094 kB / 1.182 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.9837, allocations: 31.97 kB / 1.182 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.022e-05/0.9838, allocations: 39.06 kB / 1.182 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.9838, allocations: 19.94 kB / 1.182 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001422/0.984, allocations: 152.5 kB / 1.182 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.11e-07/0.984, allocations: 0 / 1.182 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008607/0.9848, allocations: 159.9 kB / 1.182 GB, free: 14.72 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.001588/0.9864, allocations: 2.002 MB / 1.184 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.988, allocations: 1.026 MB / 1.185 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.988, allocations: 0 / 1.185 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005457/0.9885, allocations: 440.1 kB / 1.186 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.989, allocations: 44.39 kB / 1.186 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.9902, allocations: 0.631 MB / 1.186 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.9906, allocations: 0.8084 MB / 1.187 GB, free: 9.516 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003928/0.991, allocations: 119.3 kB / 1.187 GB, free: 9.402 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.9912, allocations: 91.39 kB / 1.187 GB, free: 9.312 MB / 0.7917 GB Notification: Performance of SimCode: time 7.91e-07/0.9912, allocations: 0 / 1.187 GB, free: 9.312 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/1.02, allocations: 7.869 MB / 1.195 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/1.02, allocations: 163.6 kB / 1.195 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/3.088, allocations: 4.531 kB / 1.195 GB, free: 1.375 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)