Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001197/0.001197, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002161/0.002161, allocations: 289.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9685/0.9685, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 95.86 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.418, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01789/0.4359, allocations: 15.74 MB / 0.7824 GB, free: 4.133 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009311/0.4453, allocations: 5.755 MB / 0.7881 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.4466, allocations: 43.88 kB / 0.7881 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003481/0.4501, allocations: 1.247 MB / 0.7893 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.4527, allocations: 1.004 MB / 0.7903 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.4554, allocations: 1.008 MB / 0.7913 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004379/0.4598, allocations: 3.979 MB / 0.7952 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00625/0.466, allocations: 5.025 MB / 0.8001 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/0.4686, allocations: 1.749 MB / 0.8018 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003487/0.4721, allocations: 2.084 MB / 0.8038 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.4733, allocations: 404 kB / 0.8042 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.4761, allocations: 1.088 MB / 0.8053 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002372/0.4785, allocations: 1.618 MB / 0.8069 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003026/0.4815, allocations: 1.599 MB / 0.8084 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006396/0.4879, allocations: 5.971 MB / 0.8142 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.488, allocations: 0 / 0.8142 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.488, allocations: 0 / 0.8142 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001151/0.4881, allocations: 0 / 0.8142 GB, free: 3.426 MB / 0.5762 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.005829/0.4939, allocations: 2.837 MB / 0.817 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.494, allocations: 12.03 kB / 0.817 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.5054, allocations: 1.995 MB / 0.819 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.5087, allocations: 1.546 MB / 0.8205 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.5089, allocations: 205.8 kB / 0.8207 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007649/0.5097, allocations: 264.4 kB / 0.8209 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.5223, allocations: 5.463 MB / 0.8263 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.178e-05/0.5224, allocations: 0 / 0.8263 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/0.5228, allocations: 116 kB / 0.8264 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003119/0.5231, allocations: 192.4 kB / 0.8266 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0133/0.5364, allocations: 5.689 MB / 0.8321 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02472/0.5612, allocations: 21.08 MB / 0.8527 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006015/0.5672, allocations: 3.001 MB / 0.8556 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005506/0.5727, allocations: 2.133 MB / 0.8577 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/0.573, allocations: 122 kB / 0.8578 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.5731, allocations: 63.48 kB / 0.8579 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=139): time 4.328e-06/0.5731, allocations: 0 / 0.8579 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=181): time 0.04118/0.6143, allocations: 12.8 MB / 0.8704 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.6144, allocations: 234.9 kB / 0.8706 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.6158, allocations: 0.9842 MB / 0.8716 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002582/0.6161, allocations: 57.7 kB / 0.8716 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000672/0.6168, allocations: 1.096 MB / 0.8727 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007184/0.6175, allocations: 0.6161 MB / 0.8733 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000906/0.6184, allocations: 468 kB / 0.8738 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6186, allocations: 333.9 kB / 0.8741 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004844/0.6234, allocations: 1.927 MB / 0.876 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005318/0.6287, allocations: 2.501 MB / 0.8784 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/0.6388, allocations: 4.458 MB / 0.8828 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-05/0.6389, allocations: 4 kB / 0.8828 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01405/0.653, allocations: 5.528 MB / 0.8882 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.653, allocations: 12 kB / 0.8882 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-05/0.6531, allocations: 28.22 kB / 0.8882 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003428/0.6565, allocations: 1.207 MB / 0.8894 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/0.6601, allocations: 0.7487 MB / 0.8901 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/0.6759, allocations: 11.41 MB / 0.9012 GB, free: 7.109 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/0.6794, allocations: 463.2 kB / 0.9017 GB, free: 6.656 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004651/0.6799, allocations: 112 kB / 0.9018 GB, free: 6.547 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006744/0.6867, allocations: 2.936 MB / 0.9047 GB, free: 3.602 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005377/0.6921, allocations: 2.497 MB / 0.9071 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01029/0.7024, allocations: 4.431 MB / 0.9114 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.011e-05/0.7025, allocations: 4 kB / 0.9114 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01373/0.7162, allocations: 5.451 MB / 0.9168 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.7163, allocations: 19.88 kB / 0.9168 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.44e-05/0.7164, allocations: 20 kB / 0.9168 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/0.7193, allocations: 1.126 MB / 0.9179 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/0.7228, allocations: 0.7565 MB / 0.9186 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01513/0.738, allocations: 11.23 MB / 0.9296 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/0.7415, allocations: 447.2 kB / 0.93 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006069/0.7421, allocations: 108 kB / 0.9301 GB, free: 8.715 MB / 0.7012 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.0008981/0.743, allocations: 315.6 kB / 0.9304 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000596/0.7437, allocations: 126.5 kB / 0.9305 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.7566, allocations: 5.201 MB / 0.9356 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.023e-05/0.7567, allocations: 11.97 kB / 0.9356 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.7567, allocations: 0 / 0.9356 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.7578, allocations: 0.511 MB / 0.9361 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.7581, allocations: 35.98 kB / 0.9362 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/0.7606, allocations: 387.4 kB / 0.9365 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/0.7609, allocations: 157 kB / 0.9367 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01378/0.7747, allocations: 5.485 MB / 0.942 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01396/0.7887, allocations: 6.277 MB / 0.9482 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004328/0.7931, allocations: 1.79 MB / 0.9499 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001192/0.7943, allocations: 0.7215 MB / 0.9506 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of Backend: time 3.21e-07/0.7943, allocations: 0 / 0.9506 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01947/0.8138, allocations: 6.985 MB / 0.9574 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01225/0.8261, allocations: 5.171 MB / 0.9625 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of Templates: time 0.4564/1.283, allocations: 58.87 MB / 1.02 GB, free: 152.3 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)