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/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.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") [/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.2129/0.215, allocations: 80.83 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005744/0.2208, allocations: 3.324 MB / 0.6739 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004549/0.2254, allocations: 2.303 MB / 0.6761 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003331/0.2258, allocations: 4 kB / 0.6761 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.227, allocations: 290.8 kB / 0.6764 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009274/0.228, allocations: 258.8 kB / 0.6767 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.229, allocations: 301.5 kB / 0.6769 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006642/0.2297, allocations: 382.7 kB / 0.6773 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005379/0.2303, allocations: 204.8 kB / 0.6775 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.2307, allocations: 155.4 kB / 0.6776 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005953/0.2313, allocations: 183.3 kB / 0.6778 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.953e-05/0.2314, allocations: 24 kB / 0.6778 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000934/0.2323, allocations: 419.2 kB / 0.6782 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.2325, allocations: 103.7 kB / 0.6783 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.2328, allocations: 131.3 kB / 0.6785 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.234, allocations: 0.5063 MB / 0.679 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.234, allocations: 4 kB / 0.679 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.725e-06/0.234, allocations: 0 / 0.679 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.234, allocations: 0 / 0.679 GB, free: 9.441 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001718/0.2357, allocations: 0.6158 MB / 0.6796 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.2358, allocations: 11.97 kB / 0.6796 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.2369, allocations: 116.4 kB / 0.6797 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.2374, allocations: 287.7 kB / 0.68 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2375, allocations: 12.81 kB / 0.68 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.2375, allocations: 32.12 kB / 0.68 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007835/0.2383, allocations: 411.5 kB / 0.6804 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.2384, allocations: 4 kB / 0.6804 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.2384, allocations: 11.94 kB / 0.6804 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-05/0.2385, allocations: 40.52 kB / 0.6805 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007203/0.2392, allocations: 338 kB / 0.6808 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.242, allocations: 1.849 MB / 0.6826 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008686/0.2428, allocations: 345.1 kB / 0.6829 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.2433, allocations: 189.6 kB / 0.6831 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.2434, allocations: 85.11 kB / 0.6832 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.2434, allocations: 42.55 kB / 0.6832 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 4.468e-06/0.2435, allocations: 0 / 0.6832 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.005257/0.2487, allocations: 1.584 MB / 0.6848 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.2488, allocations: 85.05 kB / 0.6848 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.2491, allocations: 229 kB / 0.6851 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.2492, allocations: 33.7 kB / 0.6851 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.2493, allocations: 180 kB / 0.6853 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.2494, allocations: 122.3 kB / 0.6854 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.2496, allocations: 82.12 kB / 0.6855 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2498, allocations: 334.8 kB / 0.6858 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.2502, allocations: 194.5 kB / 0.686 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.2507, allocations: 305.1 kB / 0.6863 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.2516, allocations: 0.5085 MB / 0.6868 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2516, allocations: 0 / 0.6868 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001393/0.253, allocations: 0.6598 MB / 0.6874 GB, free: 300 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.253, allocations: 8.406 kB / 0.6874 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2531, allocations: 8 kB / 0.6874 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/0.2536, allocations: 147.3 kB / 0.6876 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.2541, allocations: 95.81 kB / 0.6876 GB, free: 28 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/0.2575, allocations: 4.166 MB / 0.6917 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.2579, allocations: 36.11 kB / 0.6917 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.2579, allocations: 16 kB / 0.6918 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005389/0.2585, allocations: 316.9 kB / 0.6921 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004735/0.259, allocations: 309 kB / 0.6924 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008791/0.2599, allocations: 0.5153 MB / 0.6929 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.118e-06/0.2599, allocations: 0 / 0.6929 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001296/0.2612, allocations: 0.6369 MB / 0.6935 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2612, allocations: 8.781 kB / 0.6935 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2612, allocations: 7.938 kB / 0.6935 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004488/0.2617, allocations: 155.5 kB / 0.6936 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.2621, allocations: 91.88 kB / 0.6937 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.2652, allocations: 4.174 MB / 0.6978 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.2655, allocations: 35.95 kB / 0.6978 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.2656, allocations: 23.94 kB / 0.6979 GB, free: 4.77 MB / 0.5294 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 () * 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 (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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002679/0.2659, allocations: 201 kB / 0.6981 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.266, allocations: 31.7 kB / 0.6981 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.2675, allocations: 0.6088 MB / 0.6987 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.2675, allocations: 4 kB / 0.6987 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2675, allocations: 0 / 0.6987 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.2675, allocations: 3.984 kB / 0.6987 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.2702, allocations: 1.326 MB / 0.7 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.2702, allocations: 4 kB / 0.7 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.2705, allocations: 59.89 kB / 0.7 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003998/0.2709, allocations: 155.5 kB / 0.7002 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.2709, allocations: 12 kB / 0.7002 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003899/0.2748, allocations: 4.186 MB / 0.7043 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.2749, allocations: 4.188 kB / 0.7043 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.2764, allocations: 0.7738 MB / 0.7051 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.2767, allocations: 136.8 kB / 0.7052 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.2768, allocations: 16 kB / 0.7052 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.2771, allocations: 27.97 kB / 0.7052 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.2773, allocations: 31.89 kB / 0.7053 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.2773, allocations: 16 kB / 0.7053 GB, free: 12.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000238/0.2776, allocations: 164.5 kB / 0.7054 GB, free: 12.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2776, allocations: 0 / 0.7054 GB, free: 12.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001183/0.2788, allocations: 168 kB / 0.7056 GB, free: 12.31 MB / 0.545 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 () * 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 (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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000345/0.2791, allocations: 127.2 kB / 0.7057 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003122/0.2823, allocations: 1.241 MB / 0.7069 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.2823, allocations: 3.938 kB / 0.7069 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.2832, allocations: 490.1 kB / 0.7074 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.2839, allocations: 63.08 kB / 0.7075 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.2857, allocations: 0.7693 MB / 0.7082 GB, free: 9.496 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.2863, allocations: 0.8123 MB / 0.709 GB, free: 8.656 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003775/0.2867, allocations: 114.8 kB / 0.7091 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.2868, allocations: 27.42 kB / 0.7091 GB, free: 8.52 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.2868, allocations: 4 kB / 0.7091 GB, free: 8.516 MB / 0.545 GB Notification: Performance of Templates: time 0.01609/0.3029, allocations: 6.552 MB / 0.7155 GB, free: 1.992 MB / 0.545 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)