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.8399/0.8399, allocations: 133.7 MB / 148.6 MB, free: 13.6 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.001219/0.001219, allocations: 168.1 kB / 180.8 MB, free: 15.06 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.688/1.688, allocations: 170.7 MB / 383.7 MB, free: 16.11 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.001796/0.001796, allocations: 115.3 kB / 454.6 MB, free: 9.699 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.1876/0.1881, allocations: 73.4 MB / 0.6812 GB, free: 5.535 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5737/0.7618, allocations: 134.8 MB / 0.8128 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/0.7622, allocations: 100.7 kB / 0.8129 GB, free: 12.63 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.05093/0.8132, allocations: 20.42 MB / 0.8329 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8132, allocations: 0 / 0.8329 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.211e-05/0.8133, allocations: 4 kB / 0.8329 GB, free: 8.316 MB / 0.5105 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.001148/0.8144, allocations: 0.5988 MB / 0.8334 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.8145, allocations: 8.031 kB / 0.8334 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.8156, allocations: 122.9 kB / 0.8336 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.816, allocations: 286.4 kB / 0.8338 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.8161, allocations: 16.44 kB / 0.8339 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.8161, allocations: 16 kB / 0.8339 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007008/0.8168, allocations: 411.5 kB / 0.8343 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.8169, allocations: 0 / 0.8343 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.8169, allocations: 14.92 kB / 0.8343 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.538e-05/0.817, allocations: 36.53 kB / 0.8343 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.8176, allocations: 349.9 kB / 0.8346 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.8203, allocations: 1.854 MB / 0.8365 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008196/0.8211, allocations: 357.6 kB / 0.8368 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.8212, allocations: 85.28 kB / 0.8369 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.8213, allocations: 42.7 kB / 0.8369 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.8213, allocations: 0 / 0.8369 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34): time 0.005426/0.8267, allocations: 1.764 MB / 0.8386 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.8268, allocations: 81.11 kB / 0.8387 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.8271, allocations: 212.1 kB / 0.8389 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.8272, allocations: 37.64 kB / 0.839 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.8273, allocations: 180 kB / 0.8391 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.8274, allocations: 118.3 kB / 0.8392 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.8275, allocations: 8 kB / 0.8392 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.8276, allocations: 334.8 kB / 0.8396 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.8281, allocations: 208.7 kB / 0.8398 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.8285, allocations: 312.2 kB / 0.8401 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.829, allocations: 243.6 kB / 0.8403 GB, free: 288 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.829, allocations: 7.938 kB / 0.8403 GB, free: 280 kB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001362/0.8304, allocations: 0.6803 MB / 0.841 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005661/0.8309, allocations: 1.13 MB / 0.8421 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.831, allocations: 7.984 kB / 0.8421 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/0.8315, allocations: 155.2 kB / 0.8422 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.832, allocations: 95.86 kB / 0.8423 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003349/0.8354, allocations: 3.973 MB / 0.8462 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.8358, allocations: 43.98 kB / 0.8462 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.8358, allocations: 16 kB / 0.8463 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.8359, allocations: 4 kB / 0.8463 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00128/0.8371, allocations: 0.6237 MB / 0.8469 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8372, allocations: 3.828 kB / 0.8469 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/0.8376, allocations: 147.4 kB / 0.847 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.838, allocations: 99.86 kB / 0.8471 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007042/0.8387, allocations: 1.109 MB / 0.8482 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.8391, allocations: 39.95 kB / 0.8482 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.8391, allocations: 12 kB / 0.8482 GB, free: 7.633 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.000336/0.8394, allocations: 261 kB / 0.8485 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.8395, allocations: 23.72 kB / 0.8485 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.8408, allocations: 0.6462 MB / 0.8491 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.8408, allocations: 4 kB / 0.8491 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8409, allocations: 4 kB / 0.8492 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8409, allocations: 0 / 0.8492 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.8432, allocations: 1.24 MB / 0.8504 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.8432, allocations: 0 / 0.8504 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.8435, allocations: 67.89 kB / 0.8504 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/0.844, allocations: 151.5 kB / 0.8506 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.8441, allocations: 11.94 kB / 0.8506 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003403/0.8475, allocations: 3.989 MB / 0.8545 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8475, allocations: 4 kB / 0.8545 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.8489, allocations: 0.8918 MB / 0.8554 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.8492, allocations: 140.8 kB / 0.8555 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.8492, allocations: 11.98 kB / 0.8555 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.8495, allocations: 31.97 kB / 0.8555 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.8496, allocations: 43.41 kB / 0.8556 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.8497, allocations: 11.98 kB / 0.8556 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002058/0.8499, allocations: 168.5 kB / 0.8557 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8499, allocations: 0 / 0.8557 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008635/0.8508, allocations: 171.9 kB / 0.8559 GB, free: 15.22 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0002503/0.851, allocations: 158.9 kB / 0.8561 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00209/0.8531, allocations: 1.216 MB / 0.8572 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8532, allocations: 0 / 0.8572 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007665/0.8539, allocations: 0.4941 MB / 0.8577 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.8544, allocations: 52.91 kB / 0.8578 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.8558, allocations: 0.8792 MB / 0.8586 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.8562, allocations: 0.8105 MB / 0.8594 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003791/0.8566, allocations: 114.9 kB / 0.8595 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.8567, allocations: 27.42 kB / 0.8596 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.814e-06/0.8567, allocations: 0 / 0.8596 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.01026/0.867, allocations: 5.414 MB / 0.8649 GB, free: 5.914 MB / 0.5417 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)