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.211/0.2131, allocations: 80.84 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005109/0.2182, allocations: 3.32 MB / 0.6739 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003719/0.222, allocations: 2.295 MB / 0.6761 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.2222, allocations: 7.938 kB / 0.6761 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.2233, allocations: 294.8 kB / 0.6764 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006527/0.2239, allocations: 258.8 kB / 0.6767 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008758/0.2248, allocations: 297.5 kB / 0.6769 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.2253, allocations: 394.7 kB / 0.6773 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004168/0.2257, allocations: 196.8 kB / 0.6775 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.226, allocations: 155.5 kB / 0.6776 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.2263, allocations: 187.3 kB / 0.6778 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.2264, allocations: 24 kB / 0.6778 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006467/0.227, allocations: 423.1 kB / 0.6783 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2272, allocations: 99.66 kB / 0.6783 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.2273, allocations: 135.3 kB / 0.6785 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006155/0.2279, allocations: 0.5102 MB / 0.679 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.228, allocations: 0 / 0.679 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.898e-06/0.228, allocations: 4 kB / 0.679 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.228, 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.001149/0.2291, allocations: 0.6002 MB / 0.6796 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2292, allocations: 12.02 kB / 0.6796 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008724/0.2301, allocations: 116.4 kB / 0.6797 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.2305, allocations: 291.7 kB / 0.68 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.2305, allocations: 16.8 kB / 0.68 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.2306, allocations: 24.12 kB / 0.68 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/0.2313, allocations: 415.5 kB / 0.6804 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2313, allocations: 0 / 0.6804 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.2314, allocations: 11.98 kB / 0.6804 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.245e-05/0.2315, allocations: 36.52 kB / 0.6804 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.2321, allocations: 349.9 kB / 0.6808 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.2347, allocations: 1.837 MB / 0.6826 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008911/0.2356, allocations: 357.1 kB / 0.6829 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.236, allocations: 181.6 kB / 0.6831 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.2362, allocations: 85.09 kB / 0.6832 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.2362, allocations: 46.5 kB / 0.6832 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.694e-06/0.2362, allocations: 0 / 0.6832 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.005294/0.2415, allocations: 1.591 MB / 0.6848 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.2416, allocations: 85.14 kB / 0.6848 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.2419, allocations: 233 kB / 0.6851 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.2419, allocations: 29.7 kB / 0.6851 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.2421, allocations: 184 kB / 0.6853 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.2422, allocations: 114.3 kB / 0.6854 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.2424, allocations: 78.12 kB / 0.6855 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.2426, allocations: 334.8 kB / 0.6858 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.243, allocations: 202.5 kB / 0.686 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.2435, allocations: 309 kB / 0.6863 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009031/0.2444, allocations: 0.5085 MB / 0.6868 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2444, allocations: 0 / 0.6868 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001293/0.2457, allocations: 0.66 MB / 0.6874 GB, free: 300 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.2458, allocations: 10.33 kB / 0.6874 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.2458, allocations: 4 kB / 0.6874 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005315/0.2463, allocations: 143.5 kB / 0.6876 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.2467, allocations: 91.88 kB / 0.6876 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.25, allocations: 4.178 MB / 0.6917 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.2504, allocations: 27.97 kB / 0.6918 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.2504, allocations: 20 kB / 0.6918 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005268/0.251, allocations: 324.9 kB / 0.6921 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004775/0.2515, allocations: 293.1 kB / 0.6924 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008431/0.2523, allocations: 0.5153 MB / 0.6929 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.821e-06/0.2523, allocations: 7.984 kB / 0.6929 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001261/0.2536, allocations: 0.6486 MB / 0.6935 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2536, allocations: 4 kB / 0.6935 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2536, allocations: 4 kB / 0.6935 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004134/0.254, allocations: 143.5 kB / 0.6936 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.2544, allocations: 99.75 kB / 0.6937 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.2575, allocations: 4.17 MB / 0.6978 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.2578, allocations: 39.95 kB / 0.6979 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.2579, allocations: 15.94 kB / 0.6979 GB, free: 4.781 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.0001831/0.2581, allocations: 204.9 kB / 0.6981 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/0.2582, allocations: 27.72 kB / 0.6981 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.2594, allocations: 0.6128 MB / 0.6987 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.2594, allocations: 4 kB / 0.6987 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2594, allocations: 4 kB / 0.6987 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2595, allocations: 0 / 0.6987 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.2617, allocations: 1.323 MB / 0.7 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2617, allocations: 4.062 kB / 0.7 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.262, allocations: 59.89 kB / 0.7001 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004184/0.2624, allocations: 151.3 kB / 0.7002 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.2625, allocations: 8 kB / 0.7002 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00308/0.2656, allocations: 4.19 MB / 0.7043 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.2656, allocations: 3.984 kB / 0.7043 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.2669, allocations: 0.7817 MB / 0.7051 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.2671, allocations: 132.8 kB / 0.7052 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.2671, allocations: 11.94 kB / 0.7052 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.2675, allocations: 35.95 kB / 0.7052 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2676, allocations: 35.84 kB / 0.7053 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.2676, allocations: 12 kB / 0.7053 GB, free: 12.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001903/0.2678, allocations: 172.5 kB / 0.7054 GB, free: 12.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2678, allocations: 0 / 0.7054 GB, free: 12.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008653/0.2687, allocations: 164 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.0002497/0.2689, allocations: 135.2 kB / 0.7057 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002261/0.2712, allocations: 1.234 MB / 0.7069 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/0.2712, allocations: 4.062 kB / 0.7069 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007664/0.272, allocations: 485 kB / 0.7074 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.2726, allocations: 68.34 kB / 0.7075 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.274, allocations: 0.7673 MB / 0.7082 GB, free: 9.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.2745, allocations: 0.8084 MB / 0.709 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003182/0.2748, allocations: 114.9 kB / 0.7091 GB, free: 8.555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.996e-05/0.2749, allocations: 23.44 kB / 0.7091 GB, free: 8.531 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/0.2749, allocations: 0 / 0.7091 GB, free: 8.531 MB / 0.545 GB Notification: Performance of Templates: time 0.01217/0.2871, allocations: 6.43 MB / 0.7154 GB, free: 2.129 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)