Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001302/0.001302, allocations: 109.4 kB / 16.42 MB, free: 5.953 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.001435/0.001435, allocations: 188.3 kB / 17.35 MB, free: 5.582 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.525/2.525, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.89 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8914/0.8929, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005439/0.8984, allocations: 3.351 MB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003528/0.9019, allocations: 2.166 MB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.9022, allocations: 4 kB / 1.214 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009892/0.9033, allocations: 290.8 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006488/0.9039, allocations: 230.9 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008938/0.9048, allocations: 299.2 kB / 1.215 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006024/0.9054, allocations: 386.7 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.9059, allocations: 212.5 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.9062, allocations: 155.4 kB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.9066, allocations: 179.3 kB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.73e-05/0.9067, allocations: 24 kB / 1.216 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007697/0.9075, allocations: 431.1 kB / 1.216 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.9076, allocations: 95.72 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.9078, allocations: 143.2 kB / 1.216 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007771/0.9086, allocations: 0.5043 MB / 1.217 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9086, allocations: 0 / 1.217 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.885e-06/0.9086, allocations: 0 / 1.217 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.9086, allocations: 3.938 kB / 1.217 GB, free: 5.223 MB / 0.9356 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.001056/0.9097, allocations: 0.6158 MB / 1.217 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.9097, allocations: 12.02 kB / 1.217 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008628/0.9106, allocations: 112.4 kB / 1.217 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.911, allocations: 283.7 kB / 1.218 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.911, allocations: 16.81 kB / 1.218 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.9111, allocations: 24.38 kB / 1.218 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.9117, allocations: 411.8 kB / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.9117, allocations: 8 kB / 1.218 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.9118, allocations: 12 kB / 1.218 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.9118, allocations: 36.53 kB / 1.218 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006252/0.9125, allocations: 345.9 kB / 1.218 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.915, allocations: 2.05 MB / 1.22 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/0.9158, allocations: 349.1 kB / 1.221 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.9162, allocations: 185.6 kB / 1.221 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.9163, allocations: 89.11 kB / 1.221 GB, free: 376 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.9163, allocations: 34.5 kB / 1.221 GB, free: 332 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.9163, allocations: 0 / 1.221 GB, free: 332 kB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.004724/0.9211, allocations: 1.583 MB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.9211, allocations: 85.42 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.9214, allocations: 233 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.9214, allocations: 29.7 kB / 1.223 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.9215, allocations: 191.8 kB / 1.223 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/0.9216, allocations: 118.3 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.9218, allocations: 86.03 kB / 1.223 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.9219, allocations: 330.8 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.9222, allocations: 202.5 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.9227, allocations: 305 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007832/0.9234, allocations: 0.5079 MB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.9235, allocations: 0 / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001221/0.9247, allocations: 0.6569 MB / 1.225 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.9247, allocations: 4 kB / 1.225 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.9247, allocations: 4 kB / 1.225 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.9253, allocations: 151.4 kB / 1.225 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.9257, allocations: 95.88 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.9285, allocations: 4.166 MB / 1.23 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.9288, allocations: 39.86 kB / 1.23 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.9289, allocations: 16 kB / 1.23 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004667/0.9293, allocations: 316.9 kB / 1.23 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003974/0.9297, allocations: 301.2 kB / 1.23 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007531/0.9305, allocations: 0.5114 MB / 1.231 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.9305, allocations: 4 kB / 1.231 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00118/0.9317, allocations: 0.6525 MB / 1.231 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.9317, allocations: 8 kB / 1.231 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9317, allocations: 4 kB / 1.231 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004125/0.9322, allocations: 151.5 kB / 1.232 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.9326, allocations: 91.81 kB / 1.232 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.9352, allocations: 4.163 MB / 1.236 GB, free: 384 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.9355, allocations: 35.95 kB / 1.236 GB, free: 348 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.9356, allocations: 16 kB / 1.236 GB, free: 332 kB / 0.9512 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.000164/0.9357, allocations: 212 kB / 1.236 GB, free: 112 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-05/0.9358, allocations: 31.62 kB / 1.236 GB, free: 80 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.937, allocations: 0.6012 MB / 1.237 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.937, allocations: 4 kB / 1.237 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.937, allocations: 7.938 kB / 1.237 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.9372, allocations: 140.8 kB / 1.237 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.9373, allocations: 4 kB / 1.237 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.9376, allocations: 31.95 kB / 1.237 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.9376, allocations: 27.83 kB / 1.237 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001392/0.939, allocations: 0.784 MB / 1.238 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001224/0.9403, allocations: 0.9649 MB / 1.238 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003507/0.9406, allocations: 220.4 kB / 1.239 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00015/0.9408, allocations: 168.5 kB / 1.239 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of Backend: time 3.5e-07/0.9408, allocations: 0 / 1.239 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002608/0.9434, allocations: 1.356 MB / 1.24 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001251/0.9447, allocations: 1.113 MB / 1.241 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of Templates: time 0.01492/0.9596, allocations: 9.327 MB / 1.25 GB, free: 1.211 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)