Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") [/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.234/0.2352, allocations: 82.22 MB / 0.5941 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.006857/0.2421, allocations: 4.907 MB / 0.5989 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007488/0.2496, allocations: 4.171 MB / 0.603 GB, free: 12.44 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009687/0.2506, allocations: 15.88 kB / 0.603 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006353/0.2513, allocations: 91.3 kB / 0.6031 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.2539, allocations: 0.6303 MB / 0.6037 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.2559, allocations: 0.5029 MB / 0.6042 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001935/0.2578, allocations: 1.618 MB / 0.6058 GB, free: 9.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.2591, allocations: 0.7041 MB / 0.6065 GB, free: 8.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006574/0.2598, allocations: 386.4 kB / 0.6068 GB, free: 8.461 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008425/0.2607, allocations: 0.5371 MB / 0.6074 GB, free: 7.922 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.35e-05/0.2608, allocations: 36 kB / 0.6074 GB, free: 7.887 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.2625, allocations: 1.002 MB / 0.6084 GB, free: 6.883 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.2628, allocations: 299.1 kB / 0.6087 GB, free: 6.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.2632, allocations: 403.6 kB / 0.609 GB, free: 6.188 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.265, allocations: 1.402 MB / 0.6104 GB, free: 4.781 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2651, allocations: 3.938 kB / 0.6104 GB, free: 4.777 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.2651, allocations: 0 / 0.6104 GB, free: 4.777 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.2651, allocations: 0 / 0.6104 GB, free: 4.777 MB / 462.1 MB 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.001888/0.267, allocations: 1.001 MB / 0.6114 GB, free: 3.723 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.267, allocations: 12.03 kB / 0.6114 GB, free: 3.711 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009768/0.2768, allocations: 1.696 MB / 0.6131 GB, free: 2.012 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.2781, allocations: 0.6079 MB / 0.6137 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.2782, allocations: 49.66 kB / 0.6137 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.2783, allocations: 64 kB / 0.6138 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004757/0.2831, allocations: 1.901 MB / 0.6156 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.2832, allocations: 7.984 kB / 0.6156 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.2833, allocations: 31.97 kB / 0.6157 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003385/0.2836, allocations: 145.4 kB / 0.6158 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007779/0.2914, allocations: 2.601 MB / 0.6183 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.3015, allocations: 6.337 MB / 0.6245 GB, free: 5.875 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.3049, allocations: 1.271 MB / 0.6258 GB, free: 4.586 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002568/0.3075, allocations: 0.9148 MB / 0.6267 GB, free: 3.664 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002309/0.3098, allocations: 1.502 MB / 0.6281 GB, free: 2.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.3099, allocations: 38.56 kB / 0.6282 GB, free: 2.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=73): time 2.995e-06/0.3099, allocations: 0 / 0.6282 GB, free: 2.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=107): time 0.02873/0.3386, allocations: 8.32 MB / 0.6363 GB, free: 9.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/0.3387, allocations: 90.11 kB / 0.6364 GB, free: 9.559 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009324/0.3397, allocations: 0.577 MB / 0.6369 GB, free: 8.973 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002529/0.34, allocations: 45.7 kB / 0.637 GB, free: 8.922 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.3403, allocations: 403.1 kB / 0.6374 GB, free: 8.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/0.3406, allocations: 370.7 kB / 0.6377 GB, free: 8.152 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.3408, allocations: 105.7 kB / 0.6378 GB, free: 8.043 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.341, allocations: 390.7 kB / 0.6382 GB, free: 7.652 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003005/0.344, allocations: 1.123 MB / 0.6393 GB, free: 6.527 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003208/0.3473, allocations: 1.468 MB / 0.6407 GB, free: 4.922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006322/0.3536, allocations: 2.628 MB / 0.6433 GB, free: 2.148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/0.3537, allocations: 7.938 kB / 0.6433 GB, free: 2.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01131/0.365, allocations: 3.909 MB / 0.6471 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003331/0.3654, allocations: 392.6 kB / 0.6475 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.3654, allocations: 12 kB / 0.6475 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005482/0.3709, allocations: 1.391 MB / 0.6489 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.3732, allocations: 467.2 kB / 0.6493 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/0.3891, allocations: 11.23 MB / 0.6603 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.3918, allocations: 307.5 kB / 0.6606 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/0.3921, allocations: 76.02 kB / 0.6606 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3921, allocations: 4 kB / 0.6606 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01029/0.4024, allocations: 3.592 MB / 0.6641 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.523e-05/0.4025, allocations: 8.531 kB / 0.6642 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004134/0.4066, allocations: 1.1 MB / 0.6652 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/0.409, allocations: 471.2 kB / 0.6657 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/0.4227, allocations: 10.36 MB / 0.6758 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.4254, allocations: 307.5 kB / 0.6761 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/0.4256, allocations: 59.97 kB / 0.6761 GB, free: 15.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008164/0.4264, allocations: 389.6 kB / 0.6765 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.4267, allocations: 83.03 kB / 0.6766 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.4379, allocations: 3.793 MB / 0.6803 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.438, allocations: 8 kB / 0.6803 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/0.438, allocations: 8 kB / 0.6803 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/0.438, allocations: 3.984 kB / 0.6803 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.4516, allocations: 5.495 MB / 0.6857 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.4517, allocations: 11.94 kB / 0.6857 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.4534, allocations: 363.8 kB / 0.686 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004698/0.4581, allocations: 1.248 MB / 0.6873 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/0.4584, allocations: 39.97 kB / 0.6873 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4745/0.9328, allocations: 10.74 MB / 0.6978 GB, free: 87.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.9329, allocations: 10.16 kB / 0.6978 GB, free: 87.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.9441, allocations: 3.685 MB / 0.7014 GB, free: 86.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009427/0.9451, allocations: 339.6 kB / 0.7017 GB, free: 86.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.9453, allocations: 28.31 kB / 0.7018 GB, free: 86.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/0.9474, allocations: 318.8 kB / 0.7021 GB, free: 86.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004689/0.9479, allocations: 102.6 kB / 0.7022 GB, free: 86.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.948, allocations: 45.59 kB / 0.7022 GB, free: 86.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006695/0.9487, allocations: 408.5 kB / 0.7026 GB, free: 86.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9487, allocations: 0 / 0.7026 GB, free: 86.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002415/0.9511, allocations: 0.5908 MB / 0.7032 GB, free: 86.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003555/0.9515, allocations: 142.3 kB / 0.7033 GB, free: 86.44 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01705/0.9685, allocations: 5.744 MB / 0.7089 GB, free: 85.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/0.9686, allocations: 0.5938 kB / 0.7089 GB, free: 85.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006173/0.9748, allocations: 2.129 MB / 0.711 GB, free: 84.94 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.977, allocations: 153.9 kB / 0.7111 GB, free: 84.94 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.9893, allocations: 3.899 MB / 0.7149 GB, free: 83.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009817/0.9903, allocations: 1.107 MB / 0.716 GB, free: 83.06 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002332/0.9926, allocations: 0.5563 MB / 0.7166 GB, free: 82.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.993, allocations: 78.92 kB / 0.7166 GB, free: 82.96 MB / 0.5294 GB Notification: Performance of SimCode: time 1.684e-06/0.993, allocations: 0 / 0.7166 GB, free: 82.96 MB / 0.5294 GB Notification: Performance of Templates: time 0.03857/1.032, allocations: 26.5 MB / 0.7425 GB, free: 62.61 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) Environment - environmentSimulation: