Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.ACACConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") [/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.2144/0.2165, allocations: 80.84 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005715/0.2222, allocations: 2.72 MB / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003881/0.2262, allocations: 2.108 MB / 0.6753 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.2264, allocations: 7.938 kB / 0.6753 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.2274, allocations: 223.1 kB / 0.6756 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006619/0.2281, allocations: 207.2 kB / 0.6758 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.229, allocations: 279.2 kB / 0.676 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.2294, allocations: 311.1 kB / 0.6763 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.2298, allocations: 154 kB / 0.6765 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.23, allocations: 127.5 kB / 0.6766 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.2304, allocations: 163.5 kB / 0.6767 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.2304, allocations: 20 kB / 0.6768 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006382/0.2311, allocations: 383.2 kB / 0.6771 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.2312, allocations: 91.78 kB / 0.6772 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.2314, allocations: 107.5 kB / 0.6773 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006367/0.232, allocations: 454.8 kB / 0.6778 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.232, allocations: 3.984 kB / 0.6778 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.585e-06/0.232, allocations: 0 / 0.6778 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.2321, allocations: 0 / 0.6778 GB, free: 10.7 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001208/0.2333, allocations: 0.5536 MB / 0.6783 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.702e-05/0.2333, allocations: 12.03 kB / 0.6783 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008466/0.2342, allocations: 116.4 kB / 0.6784 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.2346, allocations: 252.5 kB / 0.6787 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.2347, allocations: 16.31 kB / 0.6787 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/0.2347, allocations: 23.98 kB / 0.6787 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007459/0.2355, allocations: 376.8 kB / 0.6791 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2355, allocations: 4 kB / 0.6791 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.2356, allocations: 4 kB / 0.6791 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.2356, allocations: 31.77 kB / 0.6791 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007203/0.2363, allocations: 363.6 kB / 0.6794 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.2386, allocations: 1.564 MB / 0.681 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.2393, allocations: 352.8 kB / 0.6813 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.2397, allocations: 185.6 kB / 0.6815 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.2399, allocations: 89.09 kB / 0.6816 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.2399, allocations: 34.56 kB / 0.6816 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.2399, allocations: 8 kB / 0.6816 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.007605/0.2475, allocations: 1.91 MB / 0.6835 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.2477, allocations: 81.11 kB / 0.6836 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.2479, allocations: 186.6 kB / 0.6837 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.248, allocations: 29.7 kB / 0.6838 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2482, allocations: 148.4 kB / 0.6839 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.2483, allocations: 122.3 kB / 0.684 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.2485, allocations: 73.59 kB / 0.6841 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0004251/0.2489, allocations: 342.8 kB / 0.6844 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/0.2495, allocations: 252.7 kB / 0.6847 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.2501, allocations: 329.5 kB / 0.685 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.2512, allocations: 0.6034 MB / 0.6856 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2512, allocations: 0 / 0.6856 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001275/0.2525, allocations: 0.6348 MB / 0.6862 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.2525, allocations: 8 kB / 0.6862 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.2525, allocations: 7.938 kB / 0.6862 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.2526, allocations: 4 kB / 0.6862 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/0.2536, allocations: 156.1 kB / 0.6863 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.2536, allocations: 11.92 kB / 0.6864 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.254, allocations: 47.92 kB / 0.6864 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.2541, allocations: 16 kB / 0.6864 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006273/0.2547, allocations: 359.9 kB / 0.6868 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005348/0.2553, allocations: 333.9 kB / 0.6871 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001026/0.2563, allocations: 0.5786 MB / 0.6876 GB, free: 84 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.2563, allocations: 3.938 kB / 0.6877 GB, free: 80 kB / 0.5137 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001255/0.2576, allocations: 0.6062 MB / 0.6882 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.2576, allocations: 12.28 kB / 0.6883 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2576, allocations: 0 / 0.6883 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.2576, allocations: 7.938 kB / 0.6883 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008245/0.2585, allocations: 143.8 kB / 0.6884 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.2585, allocations: 7.984 kB / 0.6884 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.2589, allocations: 43.94 kB / 0.6884 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/0.259, allocations: 19.98 kB / 0.6885 GB, free: 15.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003615/0.2593, allocations: 212.1 kB / 0.6887 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.2595, allocations: 19.72 kB / 0.6887 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.261, allocations: 0.6569 MB / 0.6893 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.261, allocations: 8 kB / 0.6893 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.261, allocations: 0 / 0.6893 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.2611, allocations: 0 / 0.6893 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.2638, allocations: 1.375 MB / 0.6907 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2638, allocations: 0 / 0.6907 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/0.2644, allocations: 124.1 kB / 0.6908 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.2644, allocations: 4 kB / 0.6908 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.2644, allocations: 19.94 kB / 0.6908 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.2645, allocations: 4 kB / 0.6908 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.098e-05/0.2645, allocations: 4 kB / 0.6908 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.2657, allocations: 0.7075 MB / 0.6915 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.2659, allocations: 140.8 kB / 0.6917 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.2659, allocations: 19.94 kB / 0.6917 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.2663, allocations: 39.94 kB / 0.6917 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.2664, allocations: 27.91 kB / 0.6917 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.2664, allocations: 12 kB / 0.6918 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001628/0.2666, allocations: 144.3 kB / 0.6919 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2666, allocations: 0 / 0.6919 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007329/0.2673, allocations: 152 kB / 0.692 GB, free: 11.41 MB / 0.5294 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003228/0.2677, allocations: 136.5 kB / 0.6922 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.2694, allocations: 0.8486 MB / 0.693 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2694, allocations: 0 / 0.693 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.2699, allocations: 259.9 kB / 0.6932 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.2705, allocations: 44.73 kB / 0.6933 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.2727, allocations: 0.7834 MB / 0.694 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.2734, allocations: 0.7838 MB / 0.6948 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006497/0.2741, allocations: 186.8 kB / 0.695 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.2743, allocations: 27.42 kB / 0.695 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.2743, allocations: 0 / 0.695 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of Templates: time 0.01311/0.2874, allocations: 4.915 MB / 0.6998 GB, free: 3.375 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)