Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001855/0.001855, allocations: 192.3 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002279/0.002279, allocations: 289.5 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 1.113/1.113, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001783, allocations: 99.84 kB / 0.6822 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4459, allocations: 86.97 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.02145/0.4674, allocations: 17.1 MB / 0.7838 GB, free: 2.781 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.4775, allocations: 6.102 MB / 0.7897 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.4791, allocations: 51.88 kB / 0.7898 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004139/0.4833, allocations: 1.554 MB / 0.7913 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.486, allocations: 1.066 MB / 0.7923 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.4886, allocations: 1.055 MB / 0.7934 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004565/0.4932, allocations: 4.229 MB / 0.7975 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007053/0.5003, allocations: 5.656 MB / 0.803 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.5031, allocations: 1.886 MB / 0.8049 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004031/0.5072, allocations: 2.248 MB / 0.8071 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.5086, allocations: 440 kB / 0.8075 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.5117, allocations: 1.12 MB / 0.8086 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002727/0.5145, allocations: 1.751 MB / 0.8103 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003945/0.5184, allocations: 1.712 MB / 0.812 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007767/0.5262, allocations: 6.411 MB / 0.8182 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5262, allocations: 0 / 0.8182 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5262, allocations: 4 kB / 0.8182 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001909/0.5264, allocations: 0 / 0.8182 GB, free: 15.34 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.006855/0.5333, allocations: 2.994 MB / 0.8211 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.5334, allocations: 8.031 kB / 0.8212 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.5448, allocations: 2.014 MB / 0.8231 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004149/0.549, allocations: 1.624 MB / 0.8247 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.5492, allocations: 222.3 kB / 0.8249 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.5502, allocations: 288.4 kB / 0.8252 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/0.5648, allocations: 5.773 MB / 0.8308 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-05/0.565, allocations: 7.938 kB / 0.8308 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009568/0.5659, allocations: 120 kB / 0.831 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003797/0.5663, allocations: 204.9 kB / 0.8312 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.5819, allocations: 5.811 MB / 0.8368 GB, free: 12.07 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02916/0.6111, allocations: 22.68 MB / 0.859 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005675/0.6168, allocations: 2.514 MB / 0.8614 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004362/0.6212, allocations: 1.64 MB / 0.863 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/0.6214, allocations: 122 kB / 0.8631 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.6215, allocations: 51.5 kB / 0.8632 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=116): time 4.088e-06/0.6215, allocations: 0 / 0.8632 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146): time 0.04047/0.662, allocations: 11.61 MB / 0.8745 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.6622, allocations: 234.9 kB / 0.8748 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.6639, allocations: 1.047 MB / 0.8758 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000305/0.6642, allocations: 49.7 kB / 0.8758 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008273/0.6651, allocations: 1.242 MB / 0.877 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007195/0.6658, allocations: 0.5007 MB / 0.8775 GB, free: 28 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.667, allocations: 455.6 kB / 0.878 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6672, allocations: 334 kB / 0.8783 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004761/0.672, allocations: 1.789 MB / 0.88 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005189/0.6772, allocations: 2.463 MB / 0.8824 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009529/0.6867, allocations: 4.269 MB / 0.8866 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.092e-05/0.6868, allocations: 4 kB / 0.8866 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01292/0.6997, allocations: 5.091 MB / 0.8916 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.6997, allocations: 23.88 kB / 0.8916 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-05/0.6998, allocations: 20 kB / 0.8916 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002929/0.7027, allocations: 0.895 MB / 0.8925 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003305/0.7061, allocations: 0.7487 MB / 0.8932 GB, free: 15.26 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/0.7215, allocations: 13.88 MB / 0.9068 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/0.725, allocations: 471 kB / 0.9072 GB, free: 72 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004933/0.7255, allocations: 108 kB / 0.9073 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00662/0.7322, allocations: 2.861 MB / 0.9101 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005295/0.7375, allocations: 2.455 MB / 0.9125 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009959/0.7475, allocations: 4.241 MB / 0.9167 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.548e-05/0.7475, allocations: 8 kB / 0.9167 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01341/0.761, allocations: 5.032 MB / 0.9216 GB, free: 0.7031 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.761, allocations: 12 kB / 0.9216 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.519e-05/0.7611, allocations: 24 kB / 0.9216 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/0.7635, allocations: 0.802 MB / 0.9224 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/0.7669, allocations: 0.7604 MB / 0.9232 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/0.7814, allocations: 13.69 MB / 0.9365 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/0.7848, allocations: 459.1 kB / 0.937 GB, free: 100 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004238/0.7852, allocations: 112.1 kB / 0.9371 GB, free: 15.98 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (232): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007925/0.786, allocations: 327.4 kB / 0.9374 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005289/0.7866, allocations: 118.6 kB / 0.9375 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.7983, allocations: 4.37 MB / 0.9418 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/0.7984, allocations: 11.98 kB / 0.9418 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.7984, allocations: 0 / 0.9418 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.7995, allocations: 471.4 kB / 0.9422 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/0.7998, allocations: 31.94 kB / 0.9423 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/0.8026, allocations: 375.4 kB / 0.9426 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.8028, allocations: 125.1 kB / 0.9427 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01289/0.8157, allocations: 4.872 MB / 0.9475 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01324/0.829, allocations: 5.649 MB / 0.953 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00411/0.8332, allocations: 1.602 MB / 0.9546 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001175/0.8344, allocations: 0.7449 MB / 0.9553 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of Backend: time 7.31e-07/0.8344, allocations: 0 / 0.9553 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01786/0.8522, allocations: 7.068 MB / 0.9622 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01054/0.8628, allocations: 5.1 MB / 0.9672 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of Templates: time 0.4749/1.338, allocations: 53.87 MB / 1.02 GB, free: 148.8 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)