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.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 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.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.01177/0.01177, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001978/0.001978, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.996/1.996, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.608/1.608, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.001765/0.001765, allocations: 67.89 kB / 0.7258 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9715/0.9732, allocations: 104.7 MB / 0.828 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005136/0.9784, allocations: 3.345 MB / 0.8313 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.982, allocations: 2.191 MB / 0.8334 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.9823, allocations: 4 kB / 0.8334 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009545/0.9833, allocations: 286.8 kB / 0.8337 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0005929/0.9839, allocations: 238.9 kB / 0.8339 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008382/0.9847, allocations: 304.4 kB / 0.8342 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000452/0.9852, allocations: 386.7 kB / 0.8346 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.9856, allocations: 208.2 kB / 0.8348 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.9859, allocations: 155.5 kB / 0.8349 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.9862, allocations: 175.3 kB / 0.8351 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.9863, allocations: 24 kB / 0.8351 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008309/0.9871, allocations: 427.1 kB / 0.8355 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.9873, allocations: 91.78 kB / 0.8356 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.9875, allocations: 143.2 kB / 0.8358 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007477/0.9882, allocations: 0.5086 MB / 0.8363 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.9882, allocations: 0 / 0.8363 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.976e-06/0.9882, allocations: 0 / 0.8363 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.9883, allocations: 3.938 kB / 0.8363 GB, free: 10.14 MB / 0.6387 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.001202/0.9895, allocations: 0.6119 MB / 0.8369 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.9895, allocations: 8.031 kB / 0.8369 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009356/0.9905, allocations: 128.4 kB / 0.837 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.9908, allocations: 280.8 kB / 0.8373 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.9909, allocations: 20.8 kB / 0.8373 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.9909, allocations: 16.38 kB / 0.8373 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006974/0.9916, allocations: 423.8 kB / 0.8377 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.9917, allocations: 0 / 0.8377 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.9917, allocations: 11.98 kB / 0.8377 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.814e-05/0.9918, allocations: 32.53 kB / 0.8377 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/0.9924, allocations: 349.9 kB / 0.8381 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.9947, allocations: 2.034 MB / 0.8401 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008272/0.9956, allocations: 356.2 kB / 0.8404 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.9959, allocations: 191.8 kB / 0.8406 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.9961, allocations: 97.03 kB / 0.8407 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.9961, allocations: 34.56 kB / 0.8407 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.9961, allocations: 0 / 0.8407 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34): time 0.005052/1.001, allocations: 1.587 MB / 0.8423 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/1.001, allocations: 85.05 kB / 0.8423 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/1.002, allocations: 240.9 kB / 0.8426 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/1.002, allocations: 29.7 kB / 0.8426 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/1.002, allocations: 184 kB / 0.8428 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/1.002, allocations: 118.3 kB / 0.8429 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/1.002, allocations: 82.12 kB / 0.843 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.002, allocations: 334.8 kB / 0.8433 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/1.003, allocations: 198.5 kB / 0.8435 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/1.003, allocations: 305 kB / 0.8438 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/1.004, allocations: 0.5043 MB / 0.8443 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.004, allocations: 0 / 0.8443 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001283/1.005, allocations: 0.6526 MB / 0.8449 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.005, allocations: 12.03 kB / 0.8449 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.005, allocations: 4 kB / 0.8449 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/1.006, allocations: 143.3 kB / 0.8451 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/1.006, allocations: 99.81 kB / 0.8451 GB, free: 500 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/1.01, allocations: 4.17 MB / 0.8492 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/1.01, allocations: 40.11 kB / 0.8493 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/1.01, allocations: 15.98 kB / 0.8493 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005605/1.011, allocations: 316.9 kB / 0.8496 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004688/1.011, allocations: 301.1 kB / 0.8499 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008297/1.012, allocations: 0.5154 MB / 0.8504 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/1.012, allocations: 0 / 0.8504 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001228/1.013, allocations: 0.6521 MB / 0.851 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.013, allocations: 8 kB / 0.851 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.013, allocations: 4 kB / 0.851 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004198/1.014, allocations: 139.7 kB / 0.8511 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/1.014, allocations: 95.81 kB / 0.8512 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/1.017, allocations: 4.174 MB / 0.8553 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/1.018, allocations: 31.97 kB / 0.8553 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/1.018, allocations: 19.98 kB / 0.8554 GB, free: 5.234 MB / 0.6544 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.0002355/1.018, allocations: 216.6 kB / 0.8556 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/1.018, allocations: 27.72 kB / 0.8556 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/1.019, allocations: 0.6122 MB / 0.8562 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/1.019, allocations: 4 kB / 0.8562 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.019, allocations: 0 / 0.8562 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/1.019, allocations: 3.984 kB / 0.8562 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/1.022, allocations: 1.314 MB / 0.8575 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/1.022, allocations: 4 kB / 0.8575 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/1.022, allocations: 59.89 kB / 0.8575 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004159/1.022, allocations: 155.5 kB / 0.8577 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/1.022, allocations: 8 kB / 0.8577 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003165/1.026, allocations: 4.178 MB / 0.8618 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.026, allocations: 8.188 kB / 0.8618 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/1.027, allocations: 0.7796 MB / 0.8626 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/1.027, allocations: 132.8 kB / 0.8627 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/1.027, allocations: 12 kB / 0.8627 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/1.027, allocations: 31.97 kB / 0.8627 GB, free: 13.15 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.027, allocations: 35.89 kB / 0.8628 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/1.028, allocations: 15.94 kB / 0.8628 GB, free: 13.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002068/1.028, allocations: 168.5 kB / 0.8629 GB, free: 12.93 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/1.028, allocations: 4 kB / 0.8629 GB, free: 12.93 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009259/1.029, allocations: 164 kB / 0.8631 GB, free: 12.77 MB / 0.67 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.000281/1.029, allocations: 139.1 kB / 0.8632 GB, free: 12.62 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002411/1.031, allocations: 1.242 MB / 0.8644 GB, free: 11.33 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.031, allocations: 0 / 0.8644 GB, free: 11.33 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007552/1.032, allocations: 490.1 kB / 0.8649 GB, free: 10.82 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/1.033, allocations: 64.02 kB / 0.865 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/1.034, allocations: 0.7524 MB / 0.8657 GB, free: 9.969 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/1.035, allocations: 0.8045 MB / 0.8665 GB, free: 9.137 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003178/1.035, allocations: 114.9 kB / 0.8666 GB, free: 9.02 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/1.035, allocations: 27.44 kB / 0.8666 GB, free: 8.992 MB / 0.67 GB Notification: Performance of SimCode: time 3.2e-07/1.035, allocations: 4 kB / 0.8666 GB, free: 8.988 MB / 0.67 GB Notification: Performance of Templates: time 0.01163/1.047, allocations: 6.411 MB / 0.8729 GB, free: 2.613 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)