Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009518/0.000952, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008251/0.008252, allocations: 174.1 kB / 16.26 MB, free: 6.613 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.533/1.533, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.000389, allocations: 13.14 kB / 0.9158 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4031, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01856/0.4218, allocations: 15.77 MB / 1.09 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009428/0.4312, allocations: 5.689 MB / 1.095 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.4325, allocations: 31.94 kB / 1.095 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008723/0.4334, allocations: 293.9 kB / 1.095 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.4354, allocations: 0.7786 MB / 1.096 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.4374, allocations: 0.7794 MB / 1.097 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006348/0.4438, allocations: 6.039 MB / 1.103 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/0.4546, allocations: 6.752 MB / 1.109 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.457, allocations: 1.175 MB / 1.111 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002976/0.46, allocations: 1.795 MB / 1.112 GB, free: 316 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004236/0.4604, allocations: 184 kB / 1.112 GB, free: 132 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.4626, allocations: 0.9906 MB / 1.113 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.4642, allocations: 1.36 MB / 1.115 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.4657, allocations: 1.285 MB / 1.116 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005759/0.4714, allocations: 5.779 MB / 1.122 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4715, allocations: 0 / 1.122 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4715, allocations: 0 / 1.122 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001155/0.4716, allocations: 0 / 1.122 GB, free: 6.68 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.004695/0.4763, allocations: 2.228 MB / 1.124 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4763, allocations: 12.03 kB / 1.124 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.4797, allocations: 0.6691 MB / 1.125 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.4819, allocations: 1.423 MB / 1.126 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.4821, allocations: 210 kB / 1.126 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004669/0.4826, allocations: 268.4 kB / 1.126 GB, free: 1.77 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007884/0.4905, allocations: 4.715 MB / 1.131 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/0.4905, allocations: 7.938 kB / 1.131 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/0.4909, allocations: 116 kB / 1.131 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001803/0.491, allocations: 148.6 kB / 1.131 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006851/0.4979, allocations: 4.085 MB / 1.135 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02476/0.5227, allocations: 20.31 MB / 1.155 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003325/0.5261, allocations: 1.898 MB / 1.157 GB, free: 276 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.5273, allocations: 0.7549 MB / 1.158 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.5274, allocations: 105.6 kB / 1.158 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.5275, allocations: 51.2 kB / 1.158 GB, free: 15.32 MB / 0.92 GB Notification: Performance of pre-optimization done (n=77): time 3.186e-06/0.5275, allocations: 4 kB / 1.158 GB, free: 15.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=92): time 0.0195/0.547, allocations: 5.275 MB / 1.163 GB, free: 10.03 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.5472, allocations: 145.5 kB / 1.163 GB, free: 9.855 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.5485, allocations: 0.9762 MB / 1.164 GB, free: 8.867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.074e-05/0.5486, allocations: 41.7 kB / 1.164 GB, free: 8.82 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007763/0.5494, allocations: 1.18 MB / 1.165 GB, free: 7.621 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.5497, allocations: 339.5 kB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.5499, allocations: 137.6 kB / 1.166 GB, free: 7.145 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.5501, allocations: 330 kB / 1.166 GB, free: 6.816 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.5514, allocations: 0.8666 MB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.5531, allocations: 1.507 MB / 1.168 GB, free: 4.156 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.5562, allocations: 2.453 MB / 1.171 GB, free: 1.402 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.5562, allocations: 12 kB / 1.171 GB, free: 1.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.00395/0.5602, allocations: 2.5 MB / 1.173 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005611/0.5607, allocations: 0.7136 MB / 1.174 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.5608, allocations: 20 kB / 1.174 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.181e-05/0.5608, allocations: 32 kB / 1.174 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/0.5633, allocations: 0.5148 MB / 1.174 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-05/0.5633, allocations: 43.86 kB / 1.174 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.5645, allocations: 155.5 kB / 1.175 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.5647, allocations: 99.91 kB / 1.175 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.5647, allocations: 1.719 kB / 1.175 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003644/0.5684, allocations: 2.386 MB / 1.177 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.515e-05/0.5685, allocations: 24.06 kB / 1.177 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.5685, allocations: 32 kB / 1.177 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/0.5709, allocations: 0.5147 MB / 1.178 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-05/0.5709, allocations: 39.86 kB / 1.178 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.5721, allocations: 135.8 kB / 1.178 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.5722, allocations: 87.98 kB / 1.178 GB, free: 9.801 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002093/0.5743, allocations: 1.218 MB / 1.179 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.5746, allocations: 106.8 kB / 1.179 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003017/0.5776, allocations: 1.832 MB / 1.181 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.5777, allocations: 12 kB / 1.181 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5777, allocations: 0 / 1.181 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.5777, allocations: 7.969 kB / 1.181 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.5894, allocations: 9.05 MB / 1.19 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.5894, allocations: 8 kB / 1.19 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.5905, allocations: 251.6 kB / 1.19 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.189e-05/0.5906, allocations: 16 kB / 1.19 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-05/0.5906, allocations: 32 kB / 1.19 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.801e-05/0.5907, allocations: 19.92 kB / 1.19 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-05/0.5907, allocations: 23.88 kB / 1.19 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.5929, allocations: 1.774 MB / 1.192 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/0.5934, allocations: 319.9 kB / 1.192 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.5936, allocations: 28 kB / 1.192 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007166/0.5943, allocations: 79.89 kB / 1.192 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.5945, allocations: 95.55 kB / 1.192 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/0.5945, allocations: 36 kB / 1.192 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009957/0.5955, allocations: 0.7254 MB / 1.193 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5955, allocations: 8 kB / 1.193 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00277/0.5983, allocations: 0.8008 MB / 1.194 GB, free: 8.141 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002935/0.5986, allocations: 174.9 kB / 1.194 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004337/0.603, allocations: 2.968 MB / 1.197 GB, free: 5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.603, allocations: 4.188 kB / 1.197 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.6038, allocations: 0.5797 MB / 1.198 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.6063, allocations: 179.5 kB / 1.198 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007939/0.6142, allocations: 5.565 MB / 1.203 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/0.6164, allocations: 2.101 MB / 1.205 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002614/0.619, allocations: 1.027 MB / 1.206 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/0.6194, allocations: 95.42 kB / 1.206 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of SimCode: time 9.42e-07/0.6194, allocations: 0 / 1.206 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of Templates: time 0.02715/0.6465, allocations: 13.98 MB / 1.22 GB, free: 13.34 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)