Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001538, 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.002048/0.002048, allocations: 191.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.88/1.88, allocations: 251.6 MB / 0.5089 GB, free: 3.281 MB / 414.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.001965/0.001965, allocations: 67.91 kB / 0.6218 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8698/0.8718, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005597/0.8775, allocations: 2.8 MB / 0.7267 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004066/0.8816, allocations: 2.031 MB / 0.7287 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.8818, allocations: 4 kB / 0.7287 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008767/0.8828, allocations: 215.2 kB / 0.7289 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.8833, allocations: 183.3 kB / 0.7291 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008206/0.8841, allocations: 247.5 kB / 0.7293 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.8845, allocations: 311.1 kB / 0.7296 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004773/0.885, allocations: 176 kB / 0.7298 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.8853, allocations: 131.5 kB / 0.7299 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.8856, allocations: 163.5 kB / 0.7301 GB, free: 6.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.8857, allocations: 20 kB / 0.7301 GB, free: 6.801 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007059/0.8864, allocations: 379.3 kB / 0.7305 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.8865, allocations: 95.77 kB / 0.7306 GB, free: 6.336 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.8867, allocations: 111.5 kB / 0.7307 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006858/0.8874, allocations: 482.6 kB / 0.7311 GB, free: 5.754 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.8874, allocations: 0 / 0.7311 GB, free: 5.754 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.666e-06/0.8874, allocations: 0 / 0.7311 GB, free: 5.754 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.8874, allocations: 3.938 kB / 0.7311 GB, free: 5.75 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001075/0.8885, allocations: 0.5614 MB / 0.7317 GB, free: 5.137 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.8886, allocations: 12.03 kB / 0.7317 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007853/0.8894, allocations: 108.5 kB / 0.7318 GB, free: 5.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.8897, allocations: 256.4 kB / 0.732 GB, free: 4.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.8898, allocations: 12.81 kB / 0.732 GB, free: 4.719 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.8898, allocations: 24.12 kB / 0.7321 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.8906, allocations: 381.9 kB / 0.7324 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.8906, allocations: 0 / 0.7324 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.8907, allocations: 12 kB / 0.7324 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.8907, allocations: 19.98 kB / 0.7325 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.8914, allocations: 367.4 kB / 0.7328 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.8937, allocations: 1.726 MB / 0.7345 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006842/0.8944, allocations: 344.9 kB / 0.7348 GB, free: 1.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.8948, allocations: 190.2 kB / 0.735 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.895, allocations: 89.09 kB / 0.7351 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.895, allocations: 38.56 kB / 0.7351 GB, free: 1.336 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 3.697e-06/0.895, allocations: 0 / 0.7351 GB, free: 1.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.007587/0.9026, allocations: 1.908 MB / 0.737 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.9027, allocations: 81.11 kB / 0.7371 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.9029, allocations: 191.3 kB / 0.7373 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.903, allocations: 33.7 kB / 0.7373 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.9031, allocations: 148.4 kB / 0.7374 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.9033, allocations: 122.3 kB / 0.7375 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.9034, allocations: 73.59 kB / 0.7376 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.9036, allocations: 334.8 kB / 0.7379 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.9041, allocations: 248.7 kB / 0.7382 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.9047, allocations: 333.5 kB / 0.7385 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.9057, allocations: 0.5994 MB / 0.7391 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.9058, allocations: 7.938 kB / 0.7391 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001189/0.9069, allocations: 0.6417 MB / 0.7397 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.907, allocations: 4 kB / 0.7397 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.907, allocations: 7.984 kB / 0.7397 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.907, allocations: 4 kB / 0.7397 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/0.908, allocations: 147.8 kB / 0.7399 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.908, allocations: 7.938 kB / 0.7399 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.9084, allocations: 52.11 kB / 0.7399 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.9085, allocations: 16 kB / 0.7399 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005694/0.909, allocations: 363.9 kB / 0.7403 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004808/0.9095, allocations: 318 kB / 0.7406 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009474/0.9105, allocations: 0.5708 MB / 0.7411 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.9105, allocations: 0 / 0.7411 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001083/0.9116, allocations: 0.6179 MB / 0.7417 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.9116, allocations: 4 kB / 0.7417 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9116, allocations: 4 kB / 0.7418 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.53e-06/0.9116, allocations: 4 kB / 0.7418 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.9124, allocations: 148.1 kB / 0.7419 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.9125, allocations: 4 kB / 0.7419 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.9128, allocations: 47.94 kB / 0.7419 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.9129, allocations: 15.98 kB / 0.742 GB, free: 10.12 MB / 0.5606 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.0001782/0.9131, allocations: 208.1 kB / 0.7422 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.9132, allocations: 19.72 kB / 0.7422 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.9145, allocations: 0.6726 MB / 0.7428 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.9145, allocations: 4 kB / 0.7428 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.9145, allocations: 4 kB / 0.7428 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.9145, allocations: 4 kB / 0.7428 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.9168, allocations: 1.368 MB / 0.7442 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9168, allocations: 3.938 kB / 0.7442 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.9174, allocations: 123.8 kB / 0.7443 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.9174, allocations: 4.25 kB / 0.7443 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.9174, allocations: 12 kB / 0.7443 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.9174, allocations: 7.938 kB / 0.7443 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9174, allocations: 0 / 0.7443 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.9185, allocations: 0.7145 MB / 0.745 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.9187, allocations: 132.9 kB / 0.7452 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.9187, allocations: 12 kB / 0.7452 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.9191, allocations: 43.88 kB / 0.7452 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.957e-05/0.9192, allocations: 31.91 kB / 0.7452 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.9192, allocations: 12 kB / 0.7452 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001357/0.9193, allocations: 139.8 kB / 0.7454 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9194, allocations: 0 / 0.7454 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000699/0.9201, allocations: 140 kB / 0.7455 GB, free: 6.312 MB / 0.5606 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.0002896/0.9204, allocations: 147.1 kB / 0.7457 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.922, allocations: 0.8909 MB / 0.7465 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.922, allocations: 0 / 0.7465 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.9225, allocations: 259.9 kB / 0.7468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.9231, allocations: 49.66 kB / 0.7468 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.9245, allocations: 0.8141 MB / 0.7476 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.9249, allocations: 0.776 MB / 0.7484 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005274/0.9255, allocations: 182.8 kB / 0.7485 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.9256, allocations: 27.44 kB / 0.7486 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.9256, allocations: 0 / 0.7486 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of Templates: time 0.009165/0.9348, allocations: 4.728 MB / 0.7532 GB, free: 14.39 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)