Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001269/0.001269, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009879/0.009879, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.482/1.482, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 11.64 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3257, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004137/0.3299, allocations: 3.074 MB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003596/0.3335, allocations: 2.154 MB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.3338, allocations: 4 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.334, allocations: 39.64 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007313/0.3348, allocations: 227.1 kB / 1.08 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008715/0.3357, allocations: 254.5 kB / 1.08 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005889/0.3363, allocations: 0.5414 MB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005565/0.3368, allocations: 329.5 kB / 1.081 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.337, allocations: 127.5 kB / 1.081 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.3373, allocations: 175.3 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.3374, allocations: 12 kB / 1.081 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007488/0.3381, allocations: 0.4951 MB / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.3383, allocations: 91.73 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.3384, allocations: 149 kB / 1.082 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.3391, allocations: 0.5256 MB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3391, allocations: 0 / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3391, allocations: 0 / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3391, allocations: 4 kB / 1.082 GB, free: 15.29 MB / 0.8419 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.001004/0.3401, allocations: 0.5591 MB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3402, allocations: 8.031 kB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008845/0.3411, allocations: 120.4 kB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.3414, allocations: 283.7 kB / 1.083 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3415, allocations: 20.73 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.3415, allocations: 20.38 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/0.3422, allocations: 427.8 kB / 1.084 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3423, allocations: 0 / 1.084 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.3423, allocations: 15.98 kB / 1.084 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/0.3424, allocations: 28.53 kB / 1.084 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006351/0.343, allocations: 361.9 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.3454, allocations: 2.058 MB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007973/0.3463, allocations: 349.1 kB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/0.3467, allocations: 209.5 kB / 1.086 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.3468, allocations: 85.11 kB / 1.087 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.3469, allocations: 38.55 kB / 1.087 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.3469, allocations: 4 kB / 1.087 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.005479/0.3524, allocations: 1.756 MB / 1.088 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.3524, allocations: 85.33 kB / 1.088 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.3527, allocations: 233 kB / 1.089 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.3527, allocations: 37.69 kB / 1.089 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3529, allocations: 176 kB / 1.089 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.353, allocations: 122.3 kB / 1.089 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.3531, allocations: 37.7 kB / 1.089 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3532, allocations: 334.8 kB / 1.089 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.3536, allocations: 204.7 kB / 1.089 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.3541, allocations: 313 kB / 1.09 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009445/0.3551, allocations: 0.5314 MB / 1.09 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3551, allocations: 0 / 1.09 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001372/0.3565, allocations: 0.6804 MB / 1.091 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.3566, allocations: 184.2 kB / 1.091 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.3566, allocations: 4 kB / 1.091 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/0.3572, allocations: 143.3 kB / 1.091 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.3576, allocations: 103.8 kB / 1.091 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/0.361, allocations: 3.946 MB / 1.095 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.3614, allocations: 44.12 kB / 1.095 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.3614, allocations: 19.98 kB / 1.095 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.3615, allocations: 4 kB / 1.095 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00134/0.3628, allocations: 0.6315 MB / 1.096 GB, free: 252 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3628, allocations: 0 / 1.096 GB, free: 252 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00041/0.3632, allocations: 143.3 kB / 1.096 GB, free: 96 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.3637, allocations: 104 kB / 1.096 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007419/0.3644, allocations: 1.105 MB / 1.097 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.3648, allocations: 44.14 kB / 1.097 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.3648, allocations: 20 kB / 1.097 GB, free: 14.77 MB / 0.8575 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.0002789/0.3651, allocations: 245 kB / 1.097 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/0.3652, allocations: 27.72 kB / 1.098 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.3666, allocations: 0.6403 MB / 1.098 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.3666, allocations: 4 kB / 1.098 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3666, allocations: 0 / 1.098 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3666, allocations: 3.984 kB / 1.098 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.369, allocations: 1.353 MB / 1.099 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.3691, allocations: 4 kB / 1.099 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.3693, allocations: 63.89 kB / 1.1 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/0.3698, allocations: 159.5 kB / 1.1 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.3699, allocations: 11.98 kB / 1.1 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/0.373, allocations: 3.957 MB / 1.104 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.373, allocations: 4.031 kB / 1.104 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.3743, allocations: 0.8027 MB / 1.104 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.3745, allocations: 140.8 kB / 1.104 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.3746, allocations: 12 kB / 1.104 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.3749, allocations: 35.95 kB / 1.105 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.375, allocations: 31.95 kB / 1.105 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.375, allocations: 16 kB / 1.105 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001765/0.3752, allocations: 172.5 kB / 1.105 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3752, allocations: 0 / 1.105 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007726/0.376, allocations: 156 kB / 1.105 GB, free: 6.414 MB / 0.8575 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.0002821/0.3763, allocations: 151.6 kB / 1.105 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.3783, allocations: 1.193 MB / 1.106 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3784, allocations: 0 / 1.106 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007505/0.3791, allocations: 497.6 kB / 1.107 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.3798, allocations: 59.09 kB / 1.107 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3811, allocations: 0.8935 MB / 1.108 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.3816, allocations: 0.8123 MB / 1.108 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003555/0.382, allocations: 114.8 kB / 1.109 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.192e-05/0.3821, allocations: 23.44 kB / 1.109 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.3821, allocations: 0 / 1.109 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of Templates: time 0.0112/0.3933, allocations: 5.651 MB / 1.114 GB, free: 12.9 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)