Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.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.001131/0.001131, allocations: 111.8 kB / 16.37 MB, free: 6.312 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.001138/0.001138, allocations: 189.8 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.876/1.876, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 80.45 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2378, allocations: 114.5 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.4461/0.6839, allocations: 15.71 MB / 0.8001 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008144/0.6921, allocations: 5.792 MB / 0.8058 GB, free: 37.96 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.6933, allocations: 44.75 kB / 0.8058 GB, free: 37.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003123/0.6964, allocations: 1.243 MB / 0.8071 GB, free: 37.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.6994, allocations: 0.9964 MB / 0.808 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.7022, allocations: 1.014 MB / 0.809 GB, free: 36.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005592/0.7078, allocations: 3.971 MB / 0.8129 GB, free: 34.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006488/0.7143, allocations: 5.089 MB / 0.8179 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.7176, allocations: 1.74 MB / 0.8196 GB, free: 31.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003586/0.7212, allocations: 2.083 MB / 0.8216 GB, free: 30.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008393/0.7221, allocations: 405 kB / 0.822 GB, free: 30.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.7246, allocations: 1.083 MB / 0.823 GB, free: 30.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00207/0.7267, allocations: 1.63 MB / 0.8246 GB, free: 30.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002427/0.7291, allocations: 1.597 MB / 0.8262 GB, free: 29.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008561/0.7377, allocations: 5.963 MB / 0.832 GB, free: 27.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.7377, allocations: 1.125 kB / 0.832 GB, free: 27.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7377, allocations: 0 / 0.832 GB, free: 27.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001941/0.7379, allocations: 0 / 0.832 GB, free: 27.2 MB / 0.6544 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.008983/0.7469, allocations: 2.828 MB / 0.8348 GB, free: 25.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.747, allocations: 9.094 kB / 0.8348 GB, free: 25.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/0.7587, allocations: 1.995 MB / 0.8367 GB, free: 25.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003993/0.7627, allocations: 1.551 MB / 0.8382 GB, free: 24.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/0.763, allocations: 202.4 kB / 0.8384 GB, free: 24.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/0.7641, allocations: 264 kB / 0.8387 GB, free: 24.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.7766, allocations: 5.465 MB / 0.844 GB, free: 21.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.4e-05/0.7767, allocations: 5.125 kB / 0.844 GB, free: 21.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004995/0.7772, allocations: 116 kB / 0.8441 GB, free: 21.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003082/0.7776, allocations: 201.8 kB / 0.8443 GB, free: 21.28 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.791, allocations: 5.685 MB / 0.8499 GB, free: 18.4 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02396/0.815, allocations: 21.06 MB / 0.8705 GB, free: 15.96 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006483/0.8215, allocations: 3.003 MB / 0.8734 GB, free: 13.65 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005738/0.8273, allocations: 2.11 MB / 0.8755 GB, free: 11.53 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.8275, allocations: 126 kB / 0.8756 GB, free: 11.39 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.8276, allocations: 59.5 kB / 0.8756 GB, free: 11.32 MB / 0.67 GB Notification: Performance of pre-optimization done (n=139): time 4.558e-06/0.8276, allocations: 0 / 0.8756 GB, free: 11.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=181): time 0.04482/0.8725, allocations: 12.81 MB / 0.8881 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002141/0.8727, allocations: 238.9 kB / 0.8884 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.8743, allocations: 0.9726 MB / 0.8893 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003123/0.8746, allocations: 57.7 kB / 0.8894 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008778/0.8755, allocations: 1.108 MB / 0.8904 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007369/0.8762, allocations: 0.6123 MB / 0.891 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009686/0.8772, allocations: 471.9 kB / 0.8915 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.8774, allocations: 334 kB / 0.8918 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005241/0.8826, allocations: 1.927 MB / 0.8937 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00584/0.8885, allocations: 2.509 MB / 0.8961 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/0.8993, allocations: 4.446 MB / 0.9005 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/0.8994, allocations: 12 kB / 0.9005 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01493/0.9143, allocations: 5.513 MB / 0.9059 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.9144, allocations: 12 kB / 0.9059 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-05/0.9144, allocations: 16.56 kB / 0.9059 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/0.9179, allocations: 1.218 MB / 0.9071 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003918/0.9218, allocations: 0.7448 MB / 0.9078 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/0.9382, allocations: 11.42 MB / 0.919 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/0.942, allocations: 451.6 kB / 0.9194 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005721/0.9426, allocations: 115.9 kB / 0.9195 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0072/0.9498, allocations: 2.94 MB / 0.9224 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005614/0.9554, allocations: 2.491 MB / 0.9248 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01061/0.966, allocations: 4.439 MB / 0.9292 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.822e-05/0.9661, allocations: 4 kB / 0.9292 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.0143/0.9804, allocations: 5.446 MB / 0.9345 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.9805, allocations: 21 kB / 0.9345 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.9805, allocations: 20 kB / 0.9345 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002863/0.9834, allocations: 1.126 MB / 0.9356 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003681/0.9871, allocations: 0.7409 MB / 0.9363 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/1.003, allocations: 11.23 MB / 0.9473 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/1.007, allocations: 451.2 kB / 0.9477 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005724/1.008, allocations: 115.9 kB / 0.9479 GB, free: 15.58 MB / 0.7481 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.001027/1.009, allocations: 311.6 kB / 0.9482 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007024/1.01, allocations: 130.4 kB / 0.9483 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.024, allocations: 5.194 MB / 0.9533 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.878e-05/1.024, allocations: 13.09 kB / 0.9534 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/1.024, allocations: 0 / 0.9534 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.025, allocations: 0.5072 MB / 0.9539 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005229/1.026, allocations: 31.94 kB / 0.9539 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/1.029, allocations: 391.4 kB / 0.9543 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000445/1.029, allocations: 165 kB / 0.9544 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01548/1.045, allocations: 5.489 MB / 0.9598 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01566/1.061, allocations: 6.273 MB / 0.9659 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0047/1.065, allocations: 1.786 MB / 0.9676 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001361/1.067, allocations: 0.7254 MB / 0.9684 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of Backend: time 3.81e-07/1.067, allocations: 0 / 0.9684 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02087/1.088, allocations: 7 MB / 0.9752 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of SimCode: time 0.01128/1.099, allocations: 5.164 MB / 0.9802 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.09536/1.194, allocations: 58 MB / 1.037 GB, free: 4.301 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)