Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 192.9 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.1 MB / 222 MB, free: 4.957 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.88/1.88, allocations: 292.3 MB / 0.5484 GB, free: 13.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 63.73 kB / 0.6708 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3051, allocations: 114.5 MB / 0.7827 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005711/0.3108, allocations: 3.384 MB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003547/0.3144, allocations: 2.226 MB / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.3147, allocations: 4 kB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009577/0.3156, allocations: 267 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005916/0.3162, allocations: 227.1 kB / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008091/0.317, allocations: 251.4 kB / 0.7889 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.3176, allocations: 0.5336 MB / 0.7894 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004113/0.318, allocations: 177 kB / 0.7896 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.3183, allocations: 123.5 kB / 0.7897 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.3187, allocations: 195.3 kB / 0.7899 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.3187, allocations: 12 kB / 0.7899 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009234/0.3196, allocations: 0.4912 MB / 0.7904 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.3198, allocations: 95.7 kB / 0.7904 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.3199, allocations: 127.3 kB / 0.7906 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007079/0.3207, allocations: 0.5258 MB / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3207, allocations: 0 / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3207, allocations: 0 / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.3207, allocations: 0 / 0.7911 GB, free: 5.41 MB / 0.6075 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.001259/0.322, allocations: 0.6042 MB / 0.7917 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.322, allocations: 8.031 kB / 0.7917 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009148/0.323, allocations: 120.4 kB / 0.7918 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.3233, allocations: 275.7 kB / 0.7921 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3234, allocations: 12.81 kB / 0.7921 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.3234, allocations: 24.36 kB / 0.7921 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/0.3241, allocations: 415.9 kB / 0.7925 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3241, allocations: 7.938 kB / 0.7925 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.3242, allocations: 4 kB / 0.7925 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.937e-05/0.3242, allocations: 36.53 kB / 0.7925 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.3249, allocations: 353.9 kB / 0.7929 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.3273, allocations: 2.054 MB / 0.7949 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/0.3281, allocations: 353 kB / 0.7952 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.3285, allocations: 189.6 kB / 0.7954 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.3286, allocations: 89.09 kB / 0.7955 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3287, allocations: 34.56 kB / 0.7955 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.974e-06/0.3287, allocations: 0 / 0.7955 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.00502/0.3337, allocations: 1.582 MB / 0.7971 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.3338, allocations: 89.03 kB / 0.7971 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.3341, allocations: 232.9 kB / 0.7974 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.3341, allocations: 37.64 kB / 0.7974 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3342, allocations: 184 kB / 0.7976 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.427e-05/0.3344, allocations: 122.3 kB / 0.7977 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.3345, allocations: 78.03 kB / 0.7978 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3347, allocations: 338.8 kB / 0.7981 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.335, allocations: 198.5 kB / 0.7983 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.3355, allocations: 301.1 kB / 0.7986 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/0.3363, allocations: 0.5052 MB / 0.7991 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3364, allocations: 4 kB / 0.7991 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001303/0.3377, allocations: 0.6524 MB / 0.7997 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3377, allocations: 8 kB / 0.7997 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3377, allocations: 4 kB / 0.7997 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.3382, allocations: 147.3 kB / 0.7999 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.3387, allocations: 96 kB / 0.7999 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/0.3422, allocations: 3.942 MB / 0.8038 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.3426, allocations: 47.8 kB / 0.8038 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.3427, allocations: 16 kB / 0.8039 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006576/0.3434, allocations: 321.7 kB / 0.8042 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005117/0.3439, allocations: 305 kB / 0.8045 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008849/0.3448, allocations: 0.5114 MB / 0.805 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.3448, allocations: 0 / 0.805 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001398/0.3462, allocations: 0.6448 MB / 0.8056 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3462, allocations: 8 kB / 0.8056 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3463, allocations: 0 / 0.8056 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/0.3467, allocations: 155.4 kB / 0.8057 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.3472, allocations: 87.88 kB / 0.8058 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/0.3502, allocations: 3.95 MB / 0.8097 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.3506, allocations: 36.12 kB / 0.8097 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.3507, allocations: 20 kB / 0.8097 GB, free: 0.9766 MB / 0.6231 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.0002805/0.351, allocations: 208.1 kB / 0.8099 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.3511, allocations: 31.62 kB / 0.81 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.3526, allocations: 0.601 MB / 0.8105 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3526, allocations: 4 kB / 0.8106 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.3526, allocations: 0 / 0.8106 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/0.3526, allocations: 7.984 kB / 0.8106 GB, free: 108 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.355, allocations: 1.319 MB / 0.8118 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.355, allocations: 256 / 0.8118 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.3553, allocations: 67.89 kB / 0.8119 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004689/0.3558, allocations: 155.2 kB / 0.8121 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.3558, allocations: 8 kB / 0.8121 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/0.3588, allocations: 3.97 MB / 0.8159 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3589, allocations: 0 / 0.8159 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.3602, allocations: 0.7846 MB / 0.8167 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.3604, allocations: 132.8 kB / 0.8168 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.3605, allocations: 12 kB / 0.8168 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.3608, allocations: 31.95 kB / 0.8169 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.3609, allocations: 35.84 kB / 0.8169 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.361, allocations: 16 kB / 0.8169 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002045/0.3612, allocations: 168.5 kB / 0.8171 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3612, allocations: 4 kB / 0.8171 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001011/0.3622, allocations: 160 kB / 0.8172 GB, free: 8.746 MB / 0.6387 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.0003452/0.3626, allocations: 146.5 kB / 0.8174 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.3651, allocations: 1.23 MB / 0.8186 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.3651, allocations: 0 / 0.8186 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000896/0.366, allocations: 490 kB / 0.8191 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/0.3668, allocations: 60.34 kB / 0.8191 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.3688, allocations: 0.8716 MB / 0.82 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.3695, allocations: 0.8084 MB / 0.8208 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004591/0.37, allocations: 114.9 kB / 0.8209 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3701, allocations: 27.42 kB / 0.8209 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of SimCode: time 1.724e-06/0.3701, allocations: 4 kB / 0.8209 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of Templates: time 0.01455/0.3847, allocations: 6.005 MB / 0.8268 GB, free: 14.89 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)