Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.ACACTransformer,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") [: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 3.0.0/package.mo): time 0.7779/0.7779, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001687/0.001687, allocations: 169.9 kB / 171.6 MB, free: 2.012 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.506/1.506, allocations: 170.5 MB / 373.9 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.001642/0.001641, allocations: 118.9 kB / 444.5 MB, free: 9.32 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.4518/0.4518, allocations: 73.39 MB / 0.666 GB, free: 62.62 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.6202, allocations: 139.5 MB / 0.8023 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/0.6206, allocations: 87.94 kB / 0.8024 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.1145/0.7351, allocations: 43.29 MB / 0.8446 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.522e-05/0.7352, allocations: 15.98 kB / 0.8446 GB, free: 1.094 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002528/0.7377, allocations: 0.917 MB / 0.8455 GB, free: 136 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.7378, allocations: 8.031 kB / 0.8455 GB, free: 128 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009537/0.7473, allocations: 1.185 MB / 0.8467 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.7488, allocations: 0.5488 MB / 0.8472 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.7489, allocations: 20 kB / 0.8473 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.7492, allocations: 36 kB / 0.8473 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002653/0.7519, allocations: 1.264 MB / 0.8485 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.7542, allocations: 1.29 MB / 0.8498 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.7543, allocations: 7.875 kB / 0.8498 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.7544, allocations: 4 kB / 0.8498 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002278/0.7547, allocations: 97.19 kB / 0.8499 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.7652, allocations: 5.957 MB / 0.8557 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.7667, allocations: 0.9314 MB / 0.8566 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008532/0.7676, allocations: 0.5634 MB / 0.8572 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002903/0.7705, allocations: 2.23 MB / 0.8593 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.7705, allocations: 54.48 kB / 0.8594 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=69): time 2.435e-06/0.7705, allocations: 0 / 0.8594 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of matching and sorting (n=93): time 0.0097/0.7803, allocations: 3.578 MB / 0.8629 GB, free: 13.74 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.7804, allocations: 195.8 kB / 0.8631 GB, free: 13.5 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/0.7811, allocations: 433 kB / 0.8635 GB, free: 13.07 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.7813, allocations: 25.7 kB / 0.8635 GB, free: 13.04 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.7816, allocations: 354.8 kB / 0.8639 GB, free: 12.68 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/0.7821, allocations: 315.4 kB / 0.8642 GB, free: 12.37 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.7822, allocations: 0 / 0.8642 GB, free: 12.37 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.7824, allocations: 374.8 kB / 0.8645 GB, free: 12 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.7835, allocations: 0.6507 MB / 0.8651 GB, free: 11.35 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.7847, allocations: 0.9138 MB / 0.866 GB, free: 10.33 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.7868, allocations: 0.8837 MB / 0.8669 GB, free: 9.438 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.7868, allocations: 4 kB / 0.8669 GB, free: 9.434 MB / 0.573 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006461/0.7933, allocations: 2.416 MB / 0.8693 GB, free: 7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00156/0.7949, allocations: 3.138 MB / 0.8723 GB, free: 3.613 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/0.7949, allocations: 8 kB / 0.8723 GB, free: 3.605 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/0.7982, allocations: 0.669 MB / 0.873 GB, free: 2.926 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/0.8006, allocations: 391.4 kB / 0.8734 GB, free: 2.543 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009466/0.8101, allocations: 6.932 MB / 0.8801 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.8126, allocations: 207.6 kB / 0.8803 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003683/0.813, allocations: 55.97 kB / 0.8804 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.813, allocations: 4 kB / 0.8804 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004236/0.8173, allocations: 1.789 MB / 0.8821 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.8173, allocations: 12.38 kB / 0.8821 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006768/0.818, allocations: 217.5 kB / 0.8824 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/0.8206, allocations: 435.3 kB / 0.8828 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/0.8246, allocations: 3.678 MB / 0.8864 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.8267, allocations: 195.7 kB / 0.8865 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/0.827, allocations: 61.61 kB / 0.8866 GB, free: 4.371 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004922/0.8275, allocations: 136.6 kB / 0.8867 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.8278, allocations: 71.16 kB / 0.8868 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006335/0.8341, allocations: 2.365 MB / 0.8891 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.8342, allocations: 12 kB / 0.8891 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/0.8342, allocations: 4 kB / 0.8891 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.8342, allocations: 11.97 kB / 0.8891 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3126/1.147, allocations: 4.118 MB / 0.8932 GB, free: 181.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.147, allocations: 7.422 kB / 0.8932 GB, free: 181.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/1.148, allocations: 290.7 kB / 0.8934 GB, free: 181.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/1.152, allocations: 0.7943 MB / 0.8942 GB, free: 181.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/1.152, allocations: 22.27 kB / 0.8942 GB, free: 181.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007948/1.16, allocations: 7.913 MB / 0.902 GB, free: 176.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.16, allocations: 9.531 kB / 0.902 GB, free: 176.9 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005188/1.165, allocations: 2.692 MB / 0.9046 GB, free: 176.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/1.166, allocations: 312 kB / 0.9049 GB, free: 175.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/1.166, allocations: 17.48 kB / 0.9049 GB, free: 175.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.168, allocations: 205.6 kB / 0.9051 GB, free: 175.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.168, allocations: 61.12 kB / 0.9052 GB, free: 175.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.91e-05/1.168, allocations: 42.34 kB / 0.9052 GB, free: 175.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0003973/1.168, allocations: 335.2 kB / 0.9055 GB, free: 175.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001964/1.17, allocations: 434.6 kB / 0.906 GB, free: 175.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002865/1.171, allocations: 128.4 kB / 0.9061 GB, free: 175.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005037/1.176, allocations: 3.132 MB / 0.9091 GB, free: 175.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.176, allocations: 0 / 0.9091 GB, free: 175.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/1.178, allocations: 1.285 MB / 0.9104 GB, free: 174.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007642/1.178, allocations: 76.34 kB / 0.9105 GB, free: 174.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008657/1.187, allocations: 2.391 MB / 0.9128 GB, free: 174.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.188, allocations: 1.137 MB / 0.9139 GB, free: 173.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.092e-06/1.188, allocations: 0 / 0.9139 GB, free: 173.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.04285/1.231, allocations: 27.96 MB / 0.9412 GB, free: 170.4 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1)