Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.465/2.465, allocations: 391.2 MB / 407 MB, free: 10.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 196.8 kB / 499.1 MB, free: 4.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 102 kB / 0.9329 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 51.48 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2937, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01364/0.3074, allocations: 15.61 MB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.007436/0.3148, allocations: 5.787 MB / 1.239 GB, free: 95.66 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.316, allocations: 31.94 kB / 1.239 GB, free: 95.62 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.3186, allocations: 1.179 MB / 1.24 GB, free: 94.45 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.3207, allocations: 0.9304 MB / 1.241 GB, free: 93.51 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.3229, allocations: 0.9232 MB / 1.242 GB, free: 92.59 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004063/0.327, allocations: 6.031 MB / 1.248 GB, free: 86.55 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006002/0.333, allocations: 5.704 MB / 1.253 GB, free: 80.78 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.335, allocations: 1.46 MB / 1.255 GB, free: 79.32 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003921/0.3389, allocations: 2.131 MB / 1.257 GB, free: 77.18 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001465/0.3404, allocations: 280 kB / 1.257 GB, free: 76.91 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/0.3439, allocations: 1.131 MB / 1.258 GB, free: 75.77 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001958/0.3458, allocations: 1.501 MB / 1.26 GB, free: 74.27 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.3476, allocations: 1.463 MB / 1.261 GB, free: 72.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004803/0.3524, allocations: 5.894 MB / 1.267 GB, free: 66.89 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3524, allocations: 0 / 1.267 GB, free: 66.89 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3524, allocations: 0 / 1.267 GB, free: 66.89 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.372e-05/0.3525, allocations: 0 / 1.267 GB, free: 66.89 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.005062/0.3576, allocations: 2.833 MB / 1.27 GB, free: 64 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3576, allocations: 11.98 kB / 1.27 GB, free: 63.99 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009892/0.3675, allocations: 1.995 MB / 1.272 GB, free: 61.99 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00351/0.3711, allocations: 1.53 MB / 1.273 GB, free: 60.41 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.3712, allocations: 201.8 kB / 1.273 GB, free: 60.21 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000469/0.3717, allocations: 264.4 kB / 1.274 GB, free: 59.96 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.3824, allocations: 5.463 MB / 1.279 GB, free: 54.39 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.39e-05/0.3825, allocations: 7.938 kB / 1.279 GB, free: 54.39 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/0.3829, allocations: 112 kB / 1.279 GB, free: 54.28 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002864/0.3832, allocations: 196.5 kB / 1.279 GB, free: 54.08 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/0.3955, allocations: 5.692 MB / 1.285 GB, free: 48.37 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02263/0.4182, allocations: 21.22 MB / 1.306 GB, free: 25.32 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005027/0.4232, allocations: 2.994 MB / 1.308 GB, free: 22.15 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004574/0.4279, allocations: 2.114 MB / 1.311 GB, free: 20.02 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.4281, allocations: 122 kB / 1.311 GB, free: 19.88 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.4282, allocations: 59.5 kB / 1.311 GB, free: 19.82 MB / 0.823 GB Notification: Performance of pre-optimization done (n=139): time 4.96e-06/0.4282, allocations: 0 / 1.311 GB, free: 19.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=181): time 0.03791/0.4661, allocations: 12.81 MB / 1.323 GB, free: 6.961 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.4662, allocations: 230.9 kB / 1.323 GB, free: 6.684 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.4676, allocations: 0.9765 MB / 1.324 GB, free: 5.695 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002853/0.4679, allocations: 53.7 kB / 1.324 GB, free: 5.637 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000468/0.4684, allocations: 1.104 MB / 1.326 GB, free: 4.516 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005876/0.469, allocations: 0.6162 MB / 1.326 GB, free: 3.891 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009114/0.4699, allocations: 471.9 kB / 1.327 GB, free: 3.422 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.47, allocations: 337.9 kB / 1.327 GB, free: 3.086 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004296/0.4743, allocations: 1.923 MB / 1.329 GB, free: 1.152 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00504/0.4794, allocations: 2.509 MB / 1.331 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009746/0.4891, allocations: 4.45 MB / 1.336 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.888e-05/0.4892, allocations: 4 kB / 1.336 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01351/0.5027, allocations: 5.524 MB / 1.341 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.5028, allocations: 12.78 kB / 1.341 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.711e-05/0.5028, allocations: 16 kB / 1.341 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003462/0.5063, allocations: 1.223 MB / 1.342 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003656/0.51, allocations: 0.7448 MB / 1.343 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01472/0.5247, allocations: 10.47 MB / 1.353 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/0.5283, allocations: 455.1 kB / 1.354 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000566/0.5288, allocations: 112 kB / 1.354 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006997/0.5359, allocations: 2.936 MB / 1.357 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005321/0.5412, allocations: 2.49 MB / 1.359 GB, free: 1.168 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009871/0.5511, allocations: 4.439 MB / 1.363 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.877e-05/0.5512, allocations: 11.98 kB / 1.363 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01344/0.5646, allocations: 5.454 MB / 1.369 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.5647, allocations: 12 kB / 1.369 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.28e-05/0.5648, allocations: 20 kB / 1.369 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/0.5675, allocations: 1.13 MB / 1.37 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/0.5709, allocations: 0.7448 MB / 1.371 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.5843, allocations: 10.31 MB / 1.381 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003356/0.5877, allocations: 447.3 kB / 1.381 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005555/0.5883, allocations: 115.9 kB / 1.381 GB, free: 9.953 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,31,92.0%), (6,30,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001018/0.5893, allocations: 312.2 kB / 1.381 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000663/0.59, allocations: 126.5 kB / 1.382 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.6033, allocations: 5.205 MB / 1.387 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/0.6034, allocations: 19.94 kB / 1.387 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-05/0.6034, allocations: 16 kB / 1.387 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/0.6034, allocations: 11.97 kB / 1.387 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/0.6237, allocations: 8.855 MB / 1.395 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/0.6237, allocations: 8 kB / 1.395 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002521/0.6263, allocations: 0.5381 MB / 1.396 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00305/0.6293, allocations: 0.9618 MB / 1.397 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/0.6296, allocations: 59.95 kB / 1.397 GB, free: 9.613 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/0.6442, allocations: 9.961 MB / 1.407 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/0.6443, allocations: 15.94 kB / 1.407 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/0.6619, allocations: 7.741 MB / 1.414 GB, free: 7.449 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.6634, allocations: 0.4994 MB / 1.415 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004698/0.6638, allocations: 39.98 kB / 1.415 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/0.6668, allocations: 399.4 kB / 1.415 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005119/0.6673, allocations: 168.7 kB / 1.415 GB, free: 6.332 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/0.6675, allocations: 71.95 kB / 1.415 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001216/0.6688, allocations: 0.7215 MB / 1.416 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6688, allocations: 0 / 1.416 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005551/0.6743, allocations: 1.195 MB / 1.417 GB, free: 4.348 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,32,100.0%), (7,29,63.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004477/0.6748, allocations: 162.9 kB / 1.417 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.5869/1.262, allocations: 8.089 MB / 1.425 GB, free: 189 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/1.262, allocations: 1.062 kB / 1.425 GB, free: 189 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.007633/1.269, allocations: 2.666 MB / 1.428 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/1.271, allocations: 192.6 kB / 1.428 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02494/1.296, allocations: 9.453 MB / 1.437 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003188/1.299, allocations: 2.311 MB / 1.439 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004426/1.304, allocations: 1.284 MB / 1.441 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005613/1.305, allocations: 129.2 kB / 1.441 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.052e-06/1.305, allocations: 0 / 1.441 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.05804/1.363, allocations: 37.22 MB / 1.477 GB, free: 158.7 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)