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: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.346/1.346, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.000909/0.000909, allocations: 181.3 kB / 366.3 MB, free: 2.02 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.042/1.042, allocations: 205.1 MB / 0.6256 GB, free: 7.473 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.000782/0.0007819, allocations: 91.06 kB / 0.7395 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.46e-06, allocations: 0 / 0.859 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3941, allocations: 116.3 MB / 0.9726 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.5474, allocations: 171.1 MB / 1.14 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.5477, allocations: 93.61 kB / 1.14 GB, free: 11.19 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: time 0.04509/0.5928, allocations: 19.87 MB / 1.159 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.5928, allocations: 10.16 kB / 1.159 GB, free: 7.227 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.0007128/0.5935, allocations: 0.5651 MB / 1.16 GB, free: 6.613 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.5936, allocations: 8.031 kB / 1.16 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009432/0.5945, allocations: 123.4 kB / 1.16 GB, free: 6.484 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.5949, allocations: 274.5 kB / 1.16 GB, free: 6.176 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.5949, allocations: 15.98 kB / 1.16 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.595, allocations: 12 kB / 1.16 GB, free: 6.148 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004032/0.5954, allocations: 269 kB / 1.16 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.5958, allocations: 361.3 kB / 1.161 GB, free: 5.504 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5959, allocations: 7.906 kB / 1.161 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.5959, allocations: 0 / 1.161 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.5959, allocations: 36.47 kB / 1.161 GB, free: 5.461 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.5981, allocations: 2.01 MB / 1.163 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.5985, allocations: 285.5 kB / 1.163 GB, free: 2.973 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.5988, allocations: 174 kB / 1.163 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.5989, allocations: 89.3 kB / 1.163 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.599, allocations: 34.73 kB / 1.163 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.599, allocations: 4 kB / 1.163 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.002001/0.601, allocations: 0.8871 MB / 1.164 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.601, allocations: 81.11 kB / 1.164 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.6012, allocations: 195.8 kB / 1.164 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.6012, allocations: 29.64 kB / 1.164 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.6013, allocations: 175.9 kB / 1.165 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.6014, allocations: 111.7 kB / 1.165 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.6014, allocations: 0 / 1.165 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6015, allocations: 338.8 kB / 1.165 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.6018, allocations: 160.8 kB / 1.165 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.602, allocations: 268.3 kB / 1.166 GB, free: 332 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.6025, allocations: 231.5 kB / 1.166 GB, free: 100 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6025, allocations: 4 kB / 1.166 GB, free: 96 kB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001017/0.6035, allocations: 0.5932 MB / 1.166 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003735/0.6039, allocations: 1.217 MB / 1.167 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6039, allocations: 4 kB / 1.167 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003599/0.6043, allocations: 131.3 kB / 1.168 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.6047, allocations: 105.7 kB / 1.168 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.6071, allocations: 3.818 MB / 1.171 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.6074, allocations: 32.06 kB / 1.171 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.6075, allocations: 12 kB / 1.171 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.6075, allocations: 6.531 kB / 1.172 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009773/0.6085, allocations: 0.5345 MB / 1.172 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6085, allocations: 4 kB / 1.172 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/0.6088, allocations: 131.3 kB / 1.172 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.6092, allocations: 100 kB / 1.172 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006104/0.6098, allocations: 1.136 MB / 1.173 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.6101, allocations: 24.08 kB / 1.173 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.6101, allocations: 23.98 kB / 1.173 GB, free: 7.762 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.0001363/0.6102, allocations: 112.9 kB / 1.174 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.6103, allocations: 27.62 kB / 1.174 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009748/0.6113, allocations: 0.5561 MB / 1.174 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6113, allocations: 7.906 kB / 1.174 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6113, allocations: 0 / 1.174 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.6114, allocations: 3.984 kB / 1.174 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.6131, allocations: 1.218 MB / 1.175 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6131, allocations: 0 / 1.175 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.6134, allocations: 64.22 kB / 1.175 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003468/0.6138, allocations: 160.6 kB / 1.175 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.6138, allocations: 4 kB / 1.175 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/0.6162, allocations: 3.836 MB / 1.179 GB, free: 1.379 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.6163, allocations: 12.05 kB / 1.179 GB, free: 1.367 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009633/0.6172, allocations: 0.8223 MB / 1.18 GB, free: 448 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.6174, allocations: 144.6 kB / 1.18 GB, free: 284 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.6174, allocations: 7.984 kB / 1.18 GB, free: 276 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.6177, allocations: 29.3 kB / 1.18 GB, free: 248 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.6178, allocations: 23.95 kB / 1.18 GB, free: 224 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.6178, allocations: 19.91 kB / 1.18 GB, free: 204 kB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001205/0.618, allocations: 152.5 kB / 1.18 GB, free: 52 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006574/0.6186, allocations: 152 kB / 1.181 GB, free: 15.89 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.0002281/0.6189, allocations: 147 kB / 1.181 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.6202, allocations: 1.029 MB / 1.182 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6202, allocations: 4 kB / 1.182 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.6207, allocations: 420.4 kB / 1.182 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.6211, allocations: 52.8 kB / 1.182 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/0.6221, allocations: 0.5665 MB / 1.183 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.6225, allocations: 0.8385 MB / 1.184 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of SimCode: time 3.7e-07/0.6225, allocations: 4 kB / 1.184 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of Templates: time 0.0104/0.6329, allocations: 6.799 MB / 1.19 GB, free: 6.004 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (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 & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)