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.01133/0.01133, allocations: 100.5 kB / 15.73 MB, free: 5.582 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.001846/0.001846, allocations: 199.1 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 2.174/2.174, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.61/1.61, allocations: 251.7 MB / 0.5094 GB, free: 404 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.001617/0.001617, allocations: 75.88 kB / 0.7258 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 104.7 MB / 0.828 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.006183/1.032, allocations: 3.352 MB / 0.8313 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004159/1.036, allocations: 2.19 MB / 0.8334 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/1.037, allocations: 4 kB / 0.8334 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/1.038, allocations: 294.7 kB / 0.8337 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0007197/1.039, allocations: 246.9 kB / 0.834 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/1.04, allocations: 295.1 kB / 0.8342 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005604/1.04, allocations: 386.7 kB / 0.8346 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000513/1.041, allocations: 208.2 kB / 0.8348 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/1.041, allocations: 159.4 kB / 0.835 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/1.042, allocations: 175.3 kB / 0.8351 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/1.042, allocations: 24 kB / 0.8352 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007989/1.042, allocations: 423.2 kB / 0.8356 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/1.043, allocations: 87.78 kB / 0.8356 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/1.043, allocations: 147.2 kB / 0.8358 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008006/1.044, allocations: 0.5086 MB / 0.8363 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/1.044, allocations: 4 kB / 0.8363 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.265e-06/1.044, allocations: 0 / 0.8363 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.417e-05/1.044, allocations: 0 / 0.8363 GB, free: 10.11 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.001396/1.045, allocations: 0.608 MB / 0.8369 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/1.045, allocations: 12.03 kB / 0.8369 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009587/1.046, allocations: 120.4 kB / 0.837 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/1.046, allocations: 284.8 kB / 0.8373 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/1.046, allocations: 16.8 kB / 0.8373 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/1.047, allocations: 28.25 kB / 0.8373 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/1.047, allocations: 411.9 kB / 0.8377 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/1.047, allocations: 7.938 kB / 0.8377 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/1.047, allocations: 7.984 kB / 0.8377 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/1.047, allocations: 36.53 kB / 0.8378 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/1.048, allocations: 346 kB / 0.8381 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/1.051, allocations: 2.038 MB / 0.8401 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/1.052, allocations: 353 kB / 0.8404 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/1.052, allocations: 181.6 kB / 0.8406 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/1.053, allocations: 97.06 kB / 0.8407 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/1.053, allocations: 42.5 kB / 0.8407 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=22): time 2.484e-06/1.053, allocations: 0 / 0.8407 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34): time 0.005181/1.058, allocations: 1.587 MB / 0.8423 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/1.058, allocations: 85.05 kB / 0.8424 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/1.058, allocations: 240.9 kB / 0.8426 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/1.058, allocations: 29.7 kB / 0.8426 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/1.058, allocations: 184 kB / 0.8428 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/1.059, allocations: 118.3 kB / 0.8429 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/1.059, allocations: 78.14 kB / 0.843 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001977/1.059, allocations: 334.8 kB / 0.8433 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/1.059, allocations: 198.5 kB / 0.8435 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/1.06, allocations: 301.1 kB / 0.8438 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009079/1.061, allocations: 0.5121 MB / 0.8443 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.061, allocations: 3.984 kB / 0.8443 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001391/1.062, allocations: 0.6522 MB / 0.8449 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/1.062, allocations: 8.391 kB / 0.8449 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.062, allocations: 8 kB / 0.8449 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/1.063, allocations: 139.3 kB / 0.8451 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/1.063, allocations: 95.81 kB / 0.8452 GB, free: 472 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/1.067, allocations: 4.17 MB / 0.8492 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/1.067, allocations: 39.97 kB / 0.8493 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/1.067, allocations: 20.06 kB / 0.8493 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005618/1.068, allocations: 320.8 kB / 0.8496 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004927/1.069, allocations: 297.1 kB / 0.8499 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009196/1.069, allocations: 0.5115 MB / 0.8504 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/1.069, allocations: 4 kB / 0.8504 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001376/1.071, allocations: 0.6523 MB / 0.851 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/1.071, allocations: 4 kB / 0.851 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.071, allocations: 4 kB / 0.851 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/1.071, allocations: 147.5 kB / 0.8512 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/1.072, allocations: 95.86 kB / 0.8512 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/1.075, allocations: 4.167 MB / 0.8553 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/1.076, allocations: 36 kB / 0.8554 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/1.076, allocations: 19.98 kB / 0.8554 GB, free: 5.203 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.0002955/1.076, allocations: 216.6 kB / 0.8556 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/1.076, allocations: 23.72 kB / 0.8556 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/1.078, allocations: 0.6083 MB / 0.8562 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.078, allocations: 4 kB / 0.8562 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.078, allocations: 7.938 kB / 0.8562 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/1.078, allocations: 3.984 kB / 0.8562 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/1.08, allocations: 1.32 MB / 0.8575 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.08, allocations: 0 / 0.8575 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/1.08, allocations: 59.89 kB / 0.8576 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/1.081, allocations: 155.6 kB / 0.8577 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/1.081, allocations: 8 kB / 0.8577 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/1.085, allocations: 4.182 MB / 0.8618 GB, free: 14.15 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.085, allocations: 4 kB / 0.8618 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/1.086, allocations: 0.7701 MB / 0.8626 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/1.086, allocations: 136.8 kB / 0.8627 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/1.086, allocations: 8 kB / 0.8627 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/1.087, allocations: 35.97 kB / 0.8627 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.087, allocations: 31.95 kB / 0.8628 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/1.087, allocations: 19.94 kB / 0.8628 GB, free: 13.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000224/1.087, allocations: 172.4 kB / 0.8629 GB, free: 12.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.41e-07/1.087, allocations: 0 / 0.8629 GB, free: 12.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009192/1.088, allocations: 172 kB / 0.8631 GB, free: 12.73 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.000292/1.088, allocations: 135.1 kB / 0.8632 GB, free: 12.59 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002732/1.091, allocations: 1.238 MB / 0.8644 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.091, allocations: 0 / 0.8644 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007796/1.092, allocations: 490.1 kB / 0.8649 GB, free: 10.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006076/1.092, allocations: 63.39 kB / 0.865 GB, free: 10.74 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/1.094, allocations: 0.7489 MB / 0.8657 GB, free: 9.945 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/1.095, allocations: 0.8045 MB / 0.8665 GB, free: 9.113 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003692/1.095, allocations: 110.9 kB / 0.8666 GB, free: 9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/1.095, allocations: 31.38 kB / 0.8666 GB, free: 8.969 MB / 0.67 GB Notification: Performance of SimCode: time 3.31e-07/1.095, allocations: 0 / 0.8666 GB, free: 8.969 MB / 0.67 GB Notification: Performance of Templates: time 0.01518/1.111, allocations: 6.413 MB / 0.8729 GB, free: 2.594 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)