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.001319/0.001319, allocations: 111.4 kB / 16.42 MB, free: 6.012 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.001558/0.001558, allocations: 184.4 kB / 17.34 MB, free: 5.629 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.428/1.428, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002224/0.002224, allocations: 291.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9334/0.9334, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 95.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5026, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.02196/0.5246, allocations: 15.73 MB / 0.7824 GB, free: 4.121 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009619/0.5343, allocations: 5.755 MB / 0.7881 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.5358, allocations: 51.88 kB / 0.7881 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.539, allocations: 1.253 MB / 0.7893 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002841/0.5418, allocations: 1.008 MB / 0.7903 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.5444, allocations: 1.01 MB / 0.7913 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004183/0.5486, allocations: 3.979 MB / 0.7952 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005389/0.554, allocations: 5.032 MB / 0.8001 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.5567, allocations: 1.742 MB / 0.8018 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.5596, allocations: 2.088 MB / 0.8038 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007359/0.5603, allocations: 408 kB / 0.8042 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.5625, allocations: 1.084 MB / 0.8053 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001839/0.5644, allocations: 1.626 MB / 0.8069 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.5666, allocations: 1.592 MB / 0.8084 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007134/0.5738, allocations: 5.967 MB / 0.8143 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.5738, allocations: 0 / 0.8143 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5739, allocations: 0 / 0.8143 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001612/0.574, allocations: 0 / 0.8143 GB, free: 3.395 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.007227/0.5813, allocations: 2.829 MB / 0.817 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/0.5813, allocations: 16.03 kB / 0.817 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/0.5925, allocations: 1.991 MB / 0.819 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004304/0.5969, allocations: 1.546 MB / 0.8205 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.5971, allocations: 205.8 kB / 0.8207 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.5984, allocations: 268.4 kB / 0.8209 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/0.6107, allocations: 5.459 MB / 0.8263 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.405e-05/0.6109, allocations: 0 / 0.8263 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003379/0.6112, allocations: 116 kB / 0.8264 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003134/0.6115, allocations: 196.5 kB / 0.8266 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.6256, allocations: 5.693 MB / 0.8321 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02929/0.655, allocations: 21.07 MB / 0.8527 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006126/0.6611, allocations: 3.002 MB / 0.8556 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005385/0.6666, allocations: 2.133 MB / 0.8577 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/0.6668, allocations: 125.9 kB / 0.8578 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.6669, allocations: 59.48 kB / 0.8579 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=139): time 3.767e-06/0.6669, allocations: 0 / 0.8579 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of matching and sorting (n=181): time 0.04164/0.7086, allocations: 12.81 MB / 0.8704 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.7087, allocations: 226.9 kB / 0.8706 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.7109, allocations: 0.9842 MB / 0.8716 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003837/0.7113, allocations: 49.7 kB / 0.8716 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.7124, allocations: 1.1 MB / 0.8727 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008788/0.7133, allocations: 0.62 MB / 0.8733 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.7143, allocations: 476 kB / 0.8738 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.7145, allocations: 330 kB / 0.8741 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004825/0.7193, allocations: 1.927 MB / 0.876 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/0.7246, allocations: 2.501 MB / 0.8784 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009884/0.7345, allocations: 4.462 MB / 0.8828 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/0.7345, allocations: 4 kB / 0.8828 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01357/0.7481, allocations: 5.524 MB / 0.8882 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.7482, allocations: 12 kB / 0.8882 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/0.7482, allocations: 20 kB / 0.8882 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003384/0.7516, allocations: 1.215 MB / 0.8894 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/0.7553, allocations: 0.7448 MB / 0.8901 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/0.7714, allocations: 11.42 MB / 0.9013 GB, free: 7.078 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/0.775, allocations: 455.1 kB / 0.9017 GB, free: 6.633 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005051/0.7755, allocations: 115.9 kB / 0.9018 GB, free: 6.52 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006872/0.7824, allocations: 2.942 MB / 0.9047 GB, free: 3.57 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005495/0.7879, allocations: 2.493 MB / 0.9071 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01046/0.7984, allocations: 4.435 MB / 0.9114 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.591e-05/0.7985, allocations: 4 kB / 0.9114 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01397/0.8125, allocations: 5.45 MB / 0.9168 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.8125, allocations: 15.94 kB / 0.9168 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/0.8126, allocations: 20 kB / 0.9168 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002919/0.8155, allocations: 1.13 MB / 0.9179 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003624/0.8192, allocations: 0.7409 MB / 0.9186 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/0.8345, allocations: 11.23 MB / 0.9296 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/0.8379, allocations: 451.2 kB / 0.93 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005127/0.8384, allocations: 107.9 kB / 0.9301 GB, free: 8.691 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.001042/0.8395, allocations: 320.6 kB / 0.9304 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008685/0.8404, allocations: 122.5 kB / 0.9306 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.8534, allocations: 5.206 MB / 0.9356 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-05/0.8534, allocations: 15.97 kB / 0.9357 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.8534, allocations: 0 / 0.9357 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.8547, allocations: 0.511 MB / 0.9362 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004483/0.8551, allocations: 28 kB / 0.9362 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/0.8579, allocations: 391.3 kB / 0.9366 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003721/0.8583, allocations: 161 kB / 0.9367 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01457/0.8729, allocations: 5.477 MB / 0.9421 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01525/0.8882, allocations: 6.285 MB / 0.9482 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004658/0.8929, allocations: 1.786 MB / 0.9499 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001461/0.8944, allocations: 0.7215 MB / 0.9506 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of Backend: time 2.6e-07/0.8944, allocations: 0 / 0.9506 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01939/0.9138, allocations: 6.984 MB / 0.9575 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of SimCode: time 0.00995/0.9238, allocations: 5.169 MB / 0.9625 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of Templates: time 0.4659/1.39, allocations: 58.86 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)