Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008509/0.008509, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.633/2.633, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005355/0.0005355, allocations: 11.98 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8556/0.8562, allocations: 142.4 MB / 0.955 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.006439/0.8627, allocations: 4.821 MB / 0.9598 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006904/0.8696, allocations: 4.01 MB / 0.9637 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008498/0.8705, allocations: 14.19 kB / 0.9637 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005355/0.8711, allocations: 89.03 kB / 0.9638 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.874, allocations: 0.628 MB / 0.9644 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.8762, allocations: 432.2 kB / 0.9648 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002868/0.8791, allocations: 1.417 MB / 0.9662 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.8811, allocations: 0.6782 MB / 0.9668 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.8823, allocations: 339 kB / 0.9672 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.8838, allocations: 486 kB / 0.9676 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003548/0.8842, allocations: 35.75 kB / 0.9677 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.8872, allocations: 0.9776 MB / 0.9686 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007648/0.888, allocations: 277.5 kB / 0.9689 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.8894, allocations: 374.4 kB / 0.9692 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00417/0.8936, allocations: 1.306 MB / 0.9705 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.8936, allocations: 0 / 0.9705 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8936, allocations: 0 / 0.9705 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.23e-05/0.8936, allocations: 5.188 kB / 0.9705 GB, free: 12.37 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002583/0.8962, allocations: 0.9415 MB / 0.9714 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.8963, allocations: 8.938 kB / 0.9714 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009914/0.9062, allocations: 1.636 MB / 0.973 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.9074, allocations: 0.5566 MB / 0.9736 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.484e-05/0.9075, allocations: 46.95 kB / 0.9736 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.9077, allocations: 64.27 kB / 0.9737 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005212/0.9129, allocations: 1.853 MB / 0.9755 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.913, allocations: 10.33 kB / 0.9755 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.9131, allocations: 26.89 kB / 0.9755 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.9134, allocations: 102 kB / 0.9756 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00818/0.9216, allocations: 2.501 MB / 0.9781 GB, free: 7.504 MB / 0.7325 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.01008/0.9317, allocations: 6.373 MB / 0.9843 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003747/0.9355, allocations: 1.374 MB / 0.9856 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/0.9381, allocations: 0.9104 MB / 0.9865 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003088/0.9412, allocations: 2.15 MB / 0.9886 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.9413, allocations: 50.5 kB / 0.9887 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=69): time 2.585e-06/0.9413, allocations: 0 / 0.9887 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=93): time 0.02452/0.9659, allocations: 6.794 MB / 0.9953 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.966, allocations: 187.9 kB / 0.9955 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007241/0.9667, allocations: 0.5212 MB / 0.996 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.9669, allocations: 41.7 kB / 0.996 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.9672, allocations: 398.7 kB / 0.9964 GB, free: 4.043 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/0.9675, allocations: 319.4 kB / 0.9967 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.9677, allocations: 97.67 kB / 0.9968 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.9679, allocations: 386.8 kB / 0.9972 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002982/0.9709, allocations: 1.009 MB / 0.9982 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003189/0.9741, allocations: 1.302 MB / 0.9994 GB, free: 0.8125 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006244/0.9804, allocations: 2.304 MB / 1.002 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.9804, allocations: 0 / 1.002 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01041/0.9908, allocations: 3.364 MB / 1.005 GB, free: 11 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002998/0.9912, allocations: 343.8 kB / 1.005 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.9912, allocations: 8 kB / 1.005 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004592/0.9958, allocations: 1.099 MB / 1.006 GB, free: 9.434 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.9981, allocations: 467.2 kB / 1.007 GB, free: 8.977 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/1.01, allocations: 8.963 MB / 1.016 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/1.012, allocations: 311.5 kB / 1.016 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/1.013, allocations: 59.97 kB / 1.016 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/1.013, allocations: 4 kB / 1.016 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009359/1.022, allocations: 3.047 MB / 1.019 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/1.022, allocations: 12.06 kB / 1.019 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003063/1.025, allocations: 0.7632 MB / 1.02 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/1.027, allocations: 491.2 kB / 1.02 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009367/1.037, allocations: 6.934 MB / 1.027 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/1.039, allocations: 299.5 kB / 1.027 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/1.039, allocations: 59.97 kB / 1.027 GB, free: 3.105 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0007237/1.04, allocations: 365.1 kB / 1.028 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/1.04, allocations: 75.09 kB / 1.028 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.05, allocations: 3.117 MB / 1.031 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/1.05, allocations: 8 kB / 1.031 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/1.05, allocations: 4 kB / 1.031 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/1.05, allocations: 7.984 kB / 1.031 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/1.063, allocations: 5.031 MB / 1.036 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/1.063, allocations: 4 kB / 1.036 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/1.065, allocations: 364 kB / 1.036 GB, free: 9.965 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004049/1.069, allocations: 1.006 MB / 1.037 GB, free: 8.945 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/1.069, allocations: 31.98 kB / 1.037 GB, free: 8.914 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/1.08, allocations: 8.665 MB / 1.045 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.08, allocations: 11.94 kB / 1.045 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009583/1.089, allocations: 3.254 MB / 1.049 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006577/1.09, allocations: 319.9 kB / 1.049 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/1.09, allocations: 20 kB / 1.049 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/1.092, allocations: 299.5 kB / 1.049 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/1.092, allocations: 87.77 kB / 1.049 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/1.092, allocations: 39.97 kB / 1.049 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005325/1.093, allocations: 378.8 kB / 1.05 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/1.093, allocations: 3.938 kB / 1.05 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00214/1.095, allocations: 0.5078 MB / 1.05 GB, free: 10.71 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002819/1.095, allocations: 143 kB / 1.05 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01319/1.109, allocations: 4.831 MB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.817e-05/1.109, allocations: 256 / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004351/1.113, allocations: 1.752 MB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/1.115, allocations: 127.5 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.125, allocations: 3.602 MB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/1.126, allocations: 1.043 MB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002016/1.128, allocations: 0.4948 MB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/1.129, allocations: 83.36 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of SimCode: time 9.22e-07/1.129, allocations: 0 / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.03348/1.162, allocations: 20.54 MB / 1.082 GB, free: 9.867 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches