Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001491/0.001491, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001655/0.001655, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.564/1.564, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.025, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004935/1.03, allocations: 3.363 MB / 1.092 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003562/1.034, allocations: 2.145 MB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/1.034, allocations: 8.594 kB / 1.094 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009733/1.035, allocations: 289.8 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006583/1.036, allocations: 242.1 kB / 1.095 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/1.037, allocations: 297.9 kB / 1.095 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005643/1.037, allocations: 391.7 kB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/1.038, allocations: 209.1 kB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/1.038, allocations: 155.4 kB / 1.096 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/1.038, allocations: 178 kB / 1.096 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.846e-05/1.038, allocations: 25.83 kB / 1.096 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009657/1.039, allocations: 427.5 kB / 1.096 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/1.04, allocations: 101 kB / 1.096 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/1.04, allocations: 135.8 kB / 1.096 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009146/1.041, allocations: 0.5117 MB / 1.097 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.041, allocations: 0 / 1.097 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.325e-06/1.041, allocations: 7.875 kB / 1.097 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.977e-06/1.041, allocations: 0.5312 kB / 1.097 GB, free: 0.75 MB / 0.8575 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.001061/1.042, allocations: 0.6167 MB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.042, allocations: 8.969 kB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009321/1.043, allocations: 117.2 kB / 1.098 GB, free: 212 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/1.043, allocations: 294.7 kB / 1.098 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/1.043, allocations: 17.44 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/1.043, allocations: 19 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007937/1.044, allocations: 423.8 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.044, allocations: 0 / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/1.044, allocations: 7.375 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-05/1.044, allocations: 34.02 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000764/1.045, allocations: 347.5 kB / 1.099 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/1.048, allocations: 2.035 MB / 1.101 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/1.049, allocations: 352.9 kB / 1.101 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/1.049, allocations: 188.5 kB / 1.101 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/1.049, allocations: 87.23 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/1.049, allocations: 37.55 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 1.953e-06/1.049, allocations: 4 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.005828/1.055, allocations: 1.585 MB / 1.103 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/1.055, allocations: 85.61 kB / 1.103 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/1.056, allocations: 232.2 kB / 1.103 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/1.056, allocations: 31.52 kB / 1.103 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/1.056, allocations: 186 kB / 1.103 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/1.056, allocations: 119.4 kB / 1.103 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/1.056, allocations: 79.73 kB / 1.104 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.056, allocations: 337 kB / 1.104 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/1.057, allocations: 201.2 kB / 1.104 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/1.057, allocations: 304.1 kB / 1.104 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009329/1.058, allocations: 0.5043 MB / 1.105 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.058, allocations: 1.312 kB / 1.105 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001434/1.06, allocations: 0.6636 MB / 1.105 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.06, allocations: 6.625 kB / 1.105 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.06, allocations: 2.719 kB / 1.105 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005445/1.06, allocations: 151.8 kB / 1.106 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/1.061, allocations: 89.52 kB / 1.106 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/1.064, allocations: 4.166 MB / 1.11 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/1.065, allocations: 35.44 kB / 1.11 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/1.065, allocations: 17.58 kB / 1.11 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006652/1.065, allocations: 322.2 kB / 1.11 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005386/1.066, allocations: 299.8 kB / 1.11 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009715/1.067, allocations: 0.5054 MB / 1.111 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/1.067, allocations: 5.062 kB / 1.111 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001475/1.069, allocations: 0.6521 MB / 1.112 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.069, allocations: 7.156 kB / 1.112 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.069, allocations: 4.125 kB / 1.112 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/1.069, allocations: 147.7 kB / 1.112 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/1.069, allocations: 95.22 kB / 1.112 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/1.073, allocations: 4.172 MB / 1.116 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/1.073, allocations: 30.39 kB / 1.116 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/1.073, allocations: 18.77 kB / 1.116 GB, free: 2.148 MB / 0.8731 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.0002168/1.073, allocations: 215.5 kB / 1.116 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/1.074, allocations: 29.25 kB / 1.116 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/1.075, allocations: 0.6077 MB / 1.117 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.075, allocations: 6.469 kB / 1.117 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.075, allocations: 0.625 kB / 1.117 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/1.075, allocations: 137.1 kB / 1.117 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/1.075, allocations: 6.891 kB / 1.117 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/1.076, allocations: 28.34 kB / 1.117 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.076, allocations: 28.67 kB / 1.117 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001762/1.077, allocations: 0.7954 MB / 1.118 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001509/1.079, allocations: 0.9641 MB / 1.119 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004388/1.079, allocations: 216.8 kB / 1.119 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000194/1.08, allocations: 167.9 kB / 1.119 GB, free: 416 kB / 0.8731 GB Notification: Performance of Backend: time 5.31e-07/1.08, allocations: 0 / 1.119 GB, free: 416 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003186/1.083, allocations: 1.354 MB / 1.12 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of SimCode: time 0.001539/1.084, allocations: 1.104 MB / 1.121 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of Templates: time 0.02175/1.106, allocations: 9.147 MB / 1.13 GB, free: 14.1 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)