Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_10_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.001704/0.001705, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001824/0.001824, allocations: 186.2 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 60.09 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.074, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.00646/1.081, allocations: 3.356 MB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004788/1.086, allocations: 2.162 MB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003769/1.086, allocations: 7.938 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/1.087, allocations: 282.8 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008942/1.088, allocations: 242.9 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/1.089, allocations: 296.4 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006426/1.09, allocations: 390.7 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/1.09, allocations: 202.8 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/1.091, allocations: 159.4 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004699/1.091, allocations: 187.4 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.127e-05/1.091, allocations: 20 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008471/1.092, allocations: 435.1 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/1.092, allocations: 95.77 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/1.093, allocations: 135.3 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/1.094, allocations: 0.5082 MB / 1.176 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.094, allocations: 0 / 1.176 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.603e-06/1.094, allocations: 3.938 kB / 1.176 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.739e-05/1.094, allocations: 0 / 1.176 GB, free: 11.42 MB / 0.9044 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.001388/1.095, allocations: 0.6236 MB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.095, allocations: 8.031 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009626/1.096, allocations: 124.4 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/1.097, allocations: 279.8 kB / 1.177 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/1.097, allocations: 12.81 kB / 1.177 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/1.097, allocations: 24.38 kB / 1.177 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008062/1.098, allocations: 415.8 kB / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/1.098, allocations: 7.938 kB / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/1.098, allocations: 12 kB / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-05/1.098, allocations: 32.53 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/1.099, allocations: 338 kB / 1.177 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/1.102, allocations: 2.046 MB / 1.179 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009099/1.102, allocations: 357.6 kB / 1.18 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004324/1.103, allocations: 185.6 kB / 1.18 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/1.103, allocations: 93.09 kB / 1.18 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.103, allocations: 30.56 kB / 1.18 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 2.013e-06/1.103, allocations: 4 kB / 1.18 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34): time 0.005581/1.109, allocations: 1.572 MB / 1.182 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/1.109, allocations: 89.08 kB / 1.182 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/1.109, allocations: 236.9 kB / 1.182 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/1.109, allocations: 33.64 kB / 1.182 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/1.109, allocations: 187.9 kB / 1.182 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/1.109, allocations: 118.3 kB / 1.182 GB, free: 4.215 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/1.11, allocations: 82.03 kB / 1.182 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.11, allocations: 334.8 kB / 1.183 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/1.11, allocations: 206.5 kB / 1.183 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/1.111, allocations: 301.1 kB / 1.183 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009153/1.112, allocations: 0.5051 MB / 1.184 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.112, allocations: 0 / 1.184 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001546/1.113, allocations: 0.6564 MB / 1.184 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/1.113, allocations: 8 kB / 1.184 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.113, allocations: 0 / 1.184 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/1.114, allocations: 147.5 kB / 1.184 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/1.114, allocations: 95.81 kB / 1.184 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/1.118, allocations: 4.17 MB / 1.188 GB, free: 13.26 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/1.119, allocations: 39.86 kB / 1.189 GB, free: 13.22 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/1.119, allocations: 16 kB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005413/1.119, allocations: 316.9 kB / 1.189 GB, free: 12.89 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004896/1.12, allocations: 305.1 kB / 1.189 GB, free: 12.55 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009366/1.121, allocations: 0.5153 MB / 1.19 GB, free: 11.99 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.141e-06/1.121, allocations: 4 kB / 1.19 GB, free: 11.99 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001466/1.122, allocations: 0.6524 MB / 1.19 GB, free: 11.32 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.122, allocations: 8 kB / 1.19 GB, free: 11.31 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/1.122, allocations: 4 kB / 1.19 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/1.123, allocations: 155.4 kB / 1.19 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/1.123, allocations: 87.88 kB / 1.191 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/1.127, allocations: 4.174 MB / 1.195 GB, free: 6.547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/1.128, allocations: 31.97 kB / 1.195 GB, free: 6.516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/1.128, allocations: 23.98 kB / 1.195 GB, free: 6.492 MB / 0.92 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.0002045/1.128, allocations: 204.1 kB / 1.195 GB, free: 6.285 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/1.128, allocations: 35.69 kB / 1.195 GB, free: 6.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/1.13, allocations: 0.5932 MB / 1.195 GB, free: 5.641 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/1.13, allocations: 11.92 kB / 1.195 GB, free: 5.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.13, allocations: 0 / 1.195 GB, free: 5.629 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/1.13, allocations: 136.8 kB / 1.196 GB, free: 5.477 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/1.13, allocations: 11.98 kB / 1.196 GB, free: 5.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/1.13, allocations: 27.97 kB / 1.196 GB, free: 5.438 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.13, allocations: 31.95 kB / 1.196 GB, free: 5.406 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001762/1.132, allocations: 0.7922 MB / 1.196 GB, free: 4.594 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001672/1.134, allocations: 0.9651 MB / 1.197 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004234/1.134, allocations: 215.8 kB / 1.198 GB, free: 3.402 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002026/1.134, allocations: 168.5 kB / 1.198 GB, free: 3.238 MB / 0.92 GB Notification: Performance of Backend: time 6.31e-07/1.135, allocations: 0 / 1.198 GB, free: 3.238 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0032/1.138, allocations: 1.353 MB / 1.199 GB, free: 1.824 MB / 0.92 GB Notification: Performance of SimCode: time 0.001827/1.14, allocations: 1.11 MB / 1.2 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of Templates: time 0.01777/1.157, allocations: 9.139 MB / 1.209 GB, free: 7.582 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)