Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7624/0.7624, allocations: 132.4 MB / 139.9 MB, free: 15.41 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001153/0.001153, allocations: 168.7 kB / 171.8 MB, free: 2.031 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.717/1.717, allocations: 170.6 MB / 374.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001609/0.001609, allocations: 108.2 kB / 444.8 MB, free: 9.305 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5268/0.5268, allocations: 73.4 MB / 0.6666 GB, free: 46.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.7027, allocations: 134 MB / 0.7975 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.7031, allocations: 94.45 kB / 0.7976 GB, free: 2.633 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:41:5-41: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.05006/0.7532, allocations: 20.19 MB / 0.8173 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7532, allocations: 0 / 0.8173 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.229e-05/0.7533, allocations: 8 kB / 0.8173 GB, free: 14.38 MB / 0.5261 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.00092/0.7542, allocations: 0.5789 MB / 0.8179 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7543, allocations: 8.031 kB / 0.8179 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009791/0.7552, allocations: 126.2 kB / 0.818 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.7557, allocations: 266.5 kB / 0.8183 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.7557, allocations: 12 kB / 0.8183 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.7557, allocations: 12 kB / 0.8183 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004144/0.7561, allocations: 260.4 kB / 0.8185 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.7567, allocations: 355.2 kB / 0.8189 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.7567, allocations: 3.938 kB / 0.8189 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.7567, allocations: 4 kB / 0.8189 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/0.7568, allocations: 24.55 kB / 0.8189 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.759, allocations: 1.799 MB / 0.8207 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.7596, allocations: 321.6 kB / 0.821 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.76, allocations: 176.3 kB / 0.8211 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.7601, allocations: 85.28 kB / 0.8212 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.7601, allocations: 42.69 kB / 0.8213 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 2.434e-06/0.7601, allocations: 0 / 0.8213 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.002014/0.7622, allocations: 0.8695 MB / 0.8221 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.7622, allocations: 77.11 kB / 0.8222 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.7624, allocations: 199.9 kB / 0.8224 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.7624, allocations: 25.7 kB / 0.8224 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.7626, allocations: 184.2 kB / 0.8226 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/0.7626, allocations: 118.3 kB / 0.8227 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.7627, allocations: 3.938 kB / 0.8227 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7628, allocations: 330.8 kB / 0.823 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.763, allocations: 160.8 kB / 0.8232 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.7633, allocations: 260.3 kB / 0.8234 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.7637, allocations: 231.5 kB / 0.8236 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7637, allocations: 0 / 0.8236 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00102/0.7648, allocations: 0.5675 MB / 0.8242 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004662/0.7652, allocations: 1.229 MB / 0.8254 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.7653, allocations: 0 / 0.8254 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.7657, allocations: 143.2 kB / 0.8255 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.7661, allocations: 97.5 kB / 0.8256 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.7688, allocations: 3.828 MB / 0.8294 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.7691, allocations: 32.22 kB / 0.8294 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.7692, allocations: 23.94 kB / 0.8294 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.7692, allocations: 4 kB / 0.8294 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.7702, allocations: 0.516 MB / 0.8299 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.7702, allocations: 6.5 kB / 0.8299 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002708/0.7705, allocations: 123.3 kB / 0.83 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.7709, allocations: 104 kB / 0.8301 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006686/0.7716, allocations: 1.124 MB / 0.8312 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.7719, allocations: 27.97 kB / 0.8313 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.7719, allocations: 15.98 kB / 0.8313 GB, free: 15.22 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conversion.P_n[1]:DUMMY_STATE(unit = "W" protected = true ) "Power transmitted at pin n (primary)" type: Real [2] 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.0002018/0.7721, allocations: 129.7 kB / 0.8314 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.7722, allocations: 31.61 kB / 0.8314 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009877/0.7732, allocations: 0.5194 MB / 0.8319 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.7732, allocations: 7.984 kB / 0.832 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.7732, allocations: 10.62 kB / 0.832 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.7732, allocations: 0 / 0.832 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.7751, allocations: 1.182 MB / 0.8331 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7751, allocations: 7.953 kB / 0.8331 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.7754, allocations: 72.14 kB / 0.8332 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003542/0.7757, allocations: 139.3 kB / 0.8333 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.7758, allocations: 7.938 kB / 0.8333 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/0.7785, allocations: 3.874 MB / 0.8371 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7785, allocations: 0 / 0.8371 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.7797, allocations: 0.7972 MB / 0.8379 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.7798, allocations: 144.7 kB / 0.838 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.7799, allocations: 7.953 kB / 0.838 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.7802, allocations: 35.95 kB / 0.8381 GB, free: 7.742 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.7803, allocations: 23.97 kB / 0.8381 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.7803, allocations: 15.94 kB / 0.8381 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001499/0.7805, allocations: 156.5 kB / 0.8383 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7805, allocations: 0 / 0.8383 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008621/0.7814, allocations: 155.9 kB / 0.8384 GB, free: 7.398 MB / 0.5417 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.0002957/0.7817, allocations: 139.1 kB / 0.8385 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.7832, allocations: 1.021 MB / 0.8395 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7832, allocations: 0 / 0.8395 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005719/0.7838, allocations: 436.6 kB / 0.84 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.7842, allocations: 53.16 kB / 0.84 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.7853, allocations: 0.5511 MB / 0.8405 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.7857, allocations: 0.8162 MB / 0.8413 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003935/0.7861, allocations: 115.7 kB / 0.8415 GB, free: 4.113 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.7862, allocations: 23.44 kB / 0.8415 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.7862, allocations: 0 / 0.8415 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.01048/0.7967, allocations: 5.495 MB / 0.8468 GB, free: 14.66 MB / 0.5573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)