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.7267/0.7267, allocations: 132.3 MB / 144.9 MB, free: 10.71 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.00106/0.00106, allocations: 176.7 kB / 176.9 MB, free: 2.191 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.279/1.279, allocations: 170.5 MB / 379.3 MB, free: 11.95 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.001553/0.001553, allocations: 116.2 kB / 450 MB, free: 5.855 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.425/0.4251, allocations: 73.39 MB / 0.6736 GB, free: 47.61 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.5725, allocations: 134.7 MB / 0.8051 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.5729, allocations: 95.72 kB / 0.8052 GB, free: 13.87 MB / 0.5105 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.04795/0.6208, allocations: 20.27 MB / 0.825 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6209, allocations: 0 / 0.825 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.607e-05/0.6209, allocations: 8 kB / 0.825 GB, free: 9.516 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.0009202/0.6218, allocations: 0.5819 MB / 0.8256 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.6219, allocations: 8.031 kB / 0.8256 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.623, allocations: 122.3 kB / 0.8257 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.6234, allocations: 270.5 kB / 0.826 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.6235, allocations: 20.42 kB / 0.826 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.6235, allocations: 20 kB / 0.826 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006333/0.6242, allocations: 395.2 kB / 0.8264 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.6242, allocations: 0 / 0.8264 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.6243, allocations: 12 kB / 0.8264 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.6243, allocations: 24.55 kB / 0.8264 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.6248, allocations: 322 kB / 0.8267 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.6273, allocations: 1.846 MB / 0.8286 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.628, allocations: 342.2 kB / 0.8289 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.6283, allocations: 177.2 kB / 0.829 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.6284, allocations: 85.28 kB / 0.8291 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.6285, allocations: 46.7 kB / 0.8292 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.6285, allocations: 0 / 0.8292 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.004214/0.6327, allocations: 1.444 MB / 0.8306 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.6328, allocations: 81.11 kB / 0.8307 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.633, allocations: 205 kB / 0.8309 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.633, allocations: 33.7 kB / 0.8309 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.928e-05/0.6331, allocations: 187.9 kB / 0.8311 GB, free: 3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.637e-05/0.6332, allocations: 122.3 kB / 0.8312 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.6333, allocations: 12 kB / 0.8312 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6334, allocations: 330.8 kB / 0.8315 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.6336, allocations: 160.8 kB / 0.8317 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.6339, allocations: 277.1 kB / 0.8319 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.6343, allocations: 207.8 kB / 0.8321 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6343, allocations: 7.938 kB / 0.8321 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001002/0.6353, allocations: 0.5972 MB / 0.8327 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004707/0.6358, allocations: 1.225 MB / 0.8339 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6358, allocations: 4 kB / 0.8339 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004965/0.6363, allocations: 147.2 kB / 0.8341 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.6367, allocations: 95.88 kB / 0.8341 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.6391, allocations: 3.934 MB / 0.838 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.6394, allocations: 51.92 kB / 0.838 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.6394, allocations: 16 kB / 0.8381 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.6395, allocations: 4 kB / 0.8381 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008786/0.6403, allocations: 0.5476 MB / 0.8386 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.6404, allocations: 7.953 kB / 0.8386 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000345/0.6407, allocations: 143.6 kB / 0.8387 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.6411, allocations: 99.88 kB / 0.8388 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005322/0.6416, allocations: 1.105 MB / 0.8399 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.6419, allocations: 47.91 kB / 0.84 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.642, allocations: 12 kB / 0.84 GB, free: 9.309 MB / 0.5417 GB 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.0001162/0.6421, allocations: 124.9 kB / 0.8401 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.6422, allocations: 35.72 kB / 0.8401 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009191/0.6431, allocations: 0.5536 MB / 0.8407 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6431, allocations: 4 kB / 0.8407 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6431, allocations: 4 kB / 0.8407 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.6431, allocations: 7.938 kB / 0.8407 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.645, allocations: 1.261 MB / 0.8419 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.645, allocations: 4 kB / 0.8419 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.6453, allocations: 72.14 kB / 0.842 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004098/0.6457, allocations: 148.1 kB / 0.8421 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.6457, allocations: 12 kB / 0.8421 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.6484, allocations: 3.966 MB / 0.846 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.6484, allocations: 7.938 kB / 0.846 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009481/0.6493, allocations: 0.8165 MB / 0.8468 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.6495, allocations: 144.6 kB / 0.847 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.6496, allocations: 12 kB / 0.847 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.6499, allocations: 35.97 kB / 0.847 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.65, allocations: 39.84 kB / 0.847 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.65, allocations: 12 kB / 0.847 GB, free: 1.477 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001734/0.6502, allocations: 165.4 kB / 0.8472 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6502, allocations: 0 / 0.8472 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006835/0.6509, allocations: 187.9 kB / 0.8474 GB, free: 1.129 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.0002187/0.6511, allocations: 139.1 kB / 0.8475 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.6525, allocations: 1.079 MB / 0.8486 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6526, allocations: 0 / 0.8486 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00056/0.6531, allocations: 459.6 kB / 0.849 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.6535, allocations: 51.7 kB / 0.8491 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.6545, allocations: 0.5747 MB / 0.8496 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.655, allocations: 0.8123 MB / 0.8504 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003756/0.6554, allocations: 114.9 kB / 0.8505 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.6554, allocations: 23.44 kB / 0.8505 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.6555, allocations: 0 / 0.8505 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of Templates: time 0.01005/0.6655, allocations: 5.714 MB / 0.8561 GB, free: 8.047 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)