Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 114.6 kB / 16.42 MB, free: 6.523 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.002232/0.002232, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.697/2.697, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.91 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9615/0.9629, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.005362/0.9684, allocations: 3.407 MB / 1.23 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003592/0.972, allocations: 2.165 MB / 1.232 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.9722, allocations: 4 kB / 1.232 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009641/0.9732, allocations: 290.8 kB / 1.232 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006075/0.9738, allocations: 238.9 kB / 1.232 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007923/0.9746, allocations: 303.2 kB / 1.233 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.9751, allocations: 386.8 kB / 1.233 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.9755, allocations: 208.7 kB / 1.233 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.9757, allocations: 151.5 kB / 1.233 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.9761, allocations: 179.2 kB / 1.233 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.9762, allocations: 24 kB / 1.233 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007116/0.9769, allocations: 423.2 kB / 1.234 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.9771, allocations: 103.8 kB / 1.234 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.9773, allocations: 143.2 kB / 1.234 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000822/0.9781, allocations: 0.5182 MB / 1.235 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9781, allocations: 0 / 1.235 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9781, allocations: 4 kB / 1.235 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.9781, allocations: 0 / 1.235 GB, free: 4.973 MB / 0.9512 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.001144/0.9793, allocations: 0.6095 MB / 1.235 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.9793, allocations: 12.03 kB / 1.235 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009301/0.9803, allocations: 116.6 kB / 1.235 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.9807, allocations: 288.3 kB / 1.236 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.9807, allocations: 16.81 kB / 1.236 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.9808, allocations: 20.36 kB / 1.236 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.9815, allocations: 423.8 kB / 1.236 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.9815, allocations: 0 / 1.236 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.9816, allocations: 11.98 kB / 1.236 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.886e-05/0.9816, allocations: 32.55 kB / 1.236 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006774/0.9823, allocations: 349.9 kB / 1.236 GB, free: 3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.985, allocations: 2.046 MB / 1.238 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000821/0.9859, allocations: 357.1 kB / 1.239 GB, free: 408 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.9863, allocations: 191.1 kB / 1.239 GB, free: 212 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.9864, allocations: 85.09 kB / 1.239 GB, free: 108 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.9864, allocations: 50.48 kB / 1.239 GB, free: 48 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 2.234e-06/0.9865, allocations: 0 / 1.239 GB, free: 48 kB / 0.9512 GB Notification: Performance of matching and sorting (n=34): time 0.005105/0.9916, allocations: 1.577 MB / 1.241 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.9916, allocations: 85.33 kB / 1.241 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.9919, allocations: 236.9 kB / 1.241 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.9919, allocations: 37.69 kB / 1.241 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.9921, allocations: 184.3 kB / 1.241 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.773e-05/0.9922, allocations: 127 kB / 1.241 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.9923, allocations: 74.12 kB / 1.241 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.9924, allocations: 342.8 kB / 1.242 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.9928, allocations: 194.5 kB / 1.242 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.9933, allocations: 312.8 kB / 1.242 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008406/0.9941, allocations: 0.5083 MB / 1.243 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.9942, allocations: 0 / 1.243 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001302/0.9955, allocations: 0.6542 MB / 1.243 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.9955, allocations: 4 kB / 1.243 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.9955, allocations: 4.406 kB / 1.243 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005403/0.9961, allocations: 151.3 kB / 1.243 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.9965, allocations: 91.88 kB / 1.244 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.9995, allocations: 4.178 MB / 1.248 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.9999, allocations: 35.95 kB / 1.248 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.9999, allocations: 23.92 kB / 1.248 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004948/1, allocations: 322.3 kB / 1.248 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004476/1.001, allocations: 298.1 kB / 1.248 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008527/1.002, allocations: 0.5151 MB / 1.249 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.572e-06/1.002, allocations: 4 kB / 1.249 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001289/1.003, allocations: 0.6525 MB / 1.249 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.003, allocations: 7.984 kB / 1.249 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.003, allocations: 4 kB / 1.249 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004536/1.004, allocations: 143.5 kB / 1.25 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/1.004, allocations: 95.81 kB / 1.25 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/1.007, allocations: 4.17 MB / 1.254 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/1.007, allocations: 27.97 kB / 1.254 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/1.007, allocations: 16 kB / 1.254 GB, free: 36 kB / 0.9669 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.000204/1.007, allocations: 216.2 kB / 1.254 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/1.008, allocations: 27.81 kB / 1.254 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/1.009, allocations: 0.6086 MB / 1.255 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/1.009, allocations: 3.984 kB / 1.255 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.009, allocations: 3.984 kB / 1.255 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/1.009, allocations: 136.8 kB / 1.255 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/1.009, allocations: 8 kB / 1.255 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/1.009, allocations: 39.95 kB / 1.255 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/1.01, allocations: 23.95 kB / 1.255 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001519/1.011, allocations: 0.7884 MB / 1.256 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001374/1.012, allocations: 0.9672 MB / 1.257 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003896/1.013, allocations: 219.7 kB / 1.257 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001679/1.013, allocations: 168.5 kB / 1.257 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of Backend: time 5.91e-07/1.013, allocations: 0 / 1.257 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002757/1.016, allocations: 1.363 MB / 1.258 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of SimCode: time 0.001396/1.017, allocations: 1.115 MB / 1.259 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of Templates: time 0.01524/1.032, allocations: 9.147 MB / 1.268 GB, free: 1.082 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)