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.00115/0.001151, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001175/0.001175, allocations: 196.2 kB / 16.25 MB, free: 6.625 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.74/1.74, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.872/1.872, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.00149/0.00149, allocations: 63.73 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3279, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005902/0.3339, allocations: 3.373 MB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0045/0.3384, allocations: 2.183 MB / 0.7883 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003995/0.3389, allocations: 7.938 kB / 0.7883 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.3404, allocations: 279 kB / 0.7886 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000958/0.3414, allocations: 207.1 kB / 0.7888 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.3428, allocations: 274.8 kB / 0.789 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007703/0.3436, allocations: 394.6 kB / 0.7894 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006221/0.3442, allocations: 233.6 kB / 0.7896 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.3446, allocations: 147.5 kB / 0.7898 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.3451, allocations: 187.3 kB / 0.7899 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.3452, allocations: 20 kB / 0.79 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009305/0.3461, allocations: 423.2 kB / 0.7904 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.3463, allocations: 103.7 kB / 0.7905 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.3466, allocations: 127.3 kB / 0.7906 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.3477, allocations: 0.5414 MB / 0.7911 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3477, allocations: 0 / 0.7911 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.457e-06/0.3477, allocations: 0 / 0.7911 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.3478, allocations: 3.938 kB / 0.7911 GB, free: 5.422 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.001518/0.3493, allocations: 0.6042 MB / 0.7917 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.3494, allocations: 8.031 kB / 0.7917 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.3504, allocations: 116.4 kB / 0.7918 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.3508, allocations: 275.7 kB / 0.7921 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.3508, allocations: 16.8 kB / 0.7921 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.3509, allocations: 32.3 kB / 0.7921 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.3516, allocations: 415.9 kB / 0.7925 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.3516, allocations: 0 / 0.7925 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.3517, allocations: 8 kB / 0.7925 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-05/0.3517, allocations: 32.55 kB / 0.7926 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.3524, allocations: 349.9 kB / 0.7929 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.3554, allocations: 2.046 MB / 0.7949 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008616/0.3563, allocations: 355.4 kB / 0.7952 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.3567, allocations: 193.6 kB / 0.7954 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.3569, allocations: 81.11 kB / 0.7955 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.3569, allocations: 46.5 kB / 0.7955 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 3.016e-06/0.3569, allocations: 0 / 0.7955 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.005076/0.362, allocations: 1.587 MB / 0.7971 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.3621, allocations: 89.05 kB / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.3624, allocations: 228.9 kB / 0.7974 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/0.3625, allocations: 33.7 kB / 0.7974 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.3626, allocations: 184 kB / 0.7976 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.3627, allocations: 118.3 kB / 0.7977 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.3629, allocations: 82.03 kB / 0.7978 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3631, allocations: 334.8 kB / 0.7981 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.3635, allocations: 198.5 kB / 0.7983 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.364, allocations: 315.2 kB / 0.7986 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008526/0.3648, allocations: 0.5091 MB / 0.7991 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3648, allocations: 0 / 0.7991 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001378/0.3662, allocations: 0.6562 MB / 0.7997 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.3663, allocations: 8 kB / 0.7998 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3663, allocations: 4 kB / 0.7998 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/0.3669, allocations: 151.5 kB / 0.7999 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.3674, allocations: 91.88 kB / 0.8 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004089/0.3715, allocations: 4.17 MB / 0.8041 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.3719, allocations: 39.94 kB / 0.8041 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.372, allocations: 19.98 kB / 0.8041 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005763/0.3726, allocations: 312.9 kB / 0.8044 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004966/0.3731, allocations: 301.1 kB / 0.8047 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008361/0.3739, allocations: 0.5114 MB / 0.8052 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.3739, allocations: 0 / 0.8052 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001357/0.3753, allocations: 0.6523 MB / 0.8058 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3753, allocations: 4.406 kB / 0.8058 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3753, allocations: 8 kB / 0.8059 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.3758, allocations: 143.3 kB / 0.806 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.3762, allocations: 95.88 kB / 0.8061 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00368/0.3799, allocations: 4.174 MB / 0.8102 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.3803, allocations: 35.95 kB / 0.8102 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.3803, allocations: 20 kB / 0.8102 GB, free: 0.5117 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.0002367/0.3806, allocations: 212.1 kB / 0.8104 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3807, allocations: 31.62 kB / 0.8104 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.382, allocations: 0.609 MB / 0.811 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.382, allocations: 4 kB / 0.811 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.382, allocations: 0 / 0.811 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.382, allocations: 4 kB / 0.811 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.3844, allocations: 1.314 MB / 0.8123 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3844, allocations: 0 / 0.8123 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.3847, allocations: 59.89 kB / 0.8124 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004443/0.3851, allocations: 155.6 kB / 0.8125 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.3852, allocations: 8 kB / 0.8125 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003531/0.3887, allocations: 4.201 MB / 0.8166 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3888, allocations: 0 / 0.8166 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.3901, allocations: 0.7768 MB / 0.8174 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.3904, allocations: 136.7 kB / 0.8175 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.3904, allocations: 15.94 kB / 0.8175 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.3907, allocations: 31.95 kB / 0.8176 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3908, allocations: 35.91 kB / 0.8176 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.3909, allocations: 15.94 kB / 0.8176 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002111/0.3911, allocations: 172.5 kB / 0.8178 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.3911, allocations: 0 / 0.8178 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009227/0.392, allocations: 160 kB / 0.8179 GB, free: 8.039 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.0002333/0.3923, allocations: 139.1 kB / 0.8181 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002284/0.3946, allocations: 1.265 MB / 0.8193 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3946, allocations: 0 / 0.8193 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007499/0.3953, allocations: 489.3 kB / 0.8198 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.396, allocations: 68.02 kB / 0.8198 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.3973, allocations: 0.8728 MB / 0.8207 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.3978, allocations: 0.8123 MB / 0.8215 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003524/0.3982, allocations: 114.8 kB / 0.8216 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.3982, allocations: 23.44 kB / 0.8216 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.3983, allocations: 4 kB / 0.8216 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of Templates: time 0.01209/0.4103, allocations: 6.259 MB / 0.8277 GB, free: 13.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)