Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009867/0.0009869, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 178.5 kB / 16.92 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.453/1.453, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.817/2.817, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004052, allocations: 8 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7849/0.7854, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.006043/0.7915, allocations: 4.822 MB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006213/0.7977, allocations: 4.01 MB / 1.032 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.7982, allocations: 11.94 kB / 1.032 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.7986, allocations: 91.25 kB / 1.032 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.8004, allocations: 0.6304 MB / 1.033 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.8016, allocations: 434.8 kB / 1.033 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.8032, allocations: 1.415 MB / 1.035 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.8045, allocations: 0.6808 MB / 1.035 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00064/0.8052, allocations: 338.6 kB / 1.036 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008589/0.806, allocations: 482.2 kB / 1.036 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.8062, allocations: 36 kB / 1.036 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.808, allocations: 0.9863 MB / 1.037 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003819/0.8084, allocations: 271.2 kB / 1.038 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.809, allocations: 375.7 kB / 1.038 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.8105, allocations: 0.9643 MB / 1.039 GB, free: 264 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8105, allocations: 0 / 1.039 GB, free: 264 kB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8105, allocations: 0 / 1.039 GB, free: 264 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.075e-05/0.8105, allocations: 0 / 1.039 GB, free: 264 kB / 0.7794 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.002055/0.8126, allocations: 0.9508 MB / 1.04 GB, free: 15.26 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.8126, allocations: 11.98 kB / 1.04 GB, free: 15.25 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009984/0.8226, allocations: 1.638 MB / 1.041 GB, free: 13.61 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.8239, allocations: 0.559 MB / 1.042 GB, free: 13.01 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.824, allocations: 49.67 kB / 1.042 GB, free: 12.96 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/0.8242, allocations: 60.36 kB / 1.042 GB, free: 12.9 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/0.8296, allocations: 1.852 MB / 1.044 GB, free: 10.97 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.8297, allocations: 4 kB / 1.044 GB, free: 10.97 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.8298, allocations: 27.98 kB / 1.044 GB, free: 10.94 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002402/0.8301, allocations: 105.5 kB / 1.044 GB, free: 10.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008377/0.8385, allocations: 2.499 MB / 1.046 GB, free: 8.336 MB / 0.795 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.009825/0.8484, allocations: 6.365 MB / 1.053 GB, free: 1.578 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00393/0.8523, allocations: 1.379 MB / 1.054 GB, free: 148 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002842/0.8552, allocations: 0.9142 MB / 1.055 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002936/0.8581, allocations: 2.162 MB / 1.057 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.8582, allocations: 50.5 kB / 1.057 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 2.685e-06/0.8582, allocations: 0 / 1.057 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=93): time 0.02511/0.8833, allocations: 6.778 MB / 1.064 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.8835, allocations: 195.8 kB / 1.064 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007487/0.8842, allocations: 0.5173 MB / 1.064 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.8844, allocations: 41.7 kB / 1.064 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.8847, allocations: 394.7 kB / 1.065 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000405/0.8852, allocations: 319.4 kB / 1.065 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.8854, allocations: 101.7 kB / 1.065 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.8856, allocations: 382.8 kB / 1.066 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003194/0.8888, allocations: 1.009 MB / 1.067 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003329/0.8921, allocations: 1.302 MB / 1.068 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006368/0.8985, allocations: 2.308 MB / 1.07 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.8985, allocations: 0 / 1.07 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01078/0.9093, allocations: 3.368 MB / 1.073 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003428/0.9097, allocations: 339.7 kB / 1.074 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.9097, allocations: 16 kB / 1.074 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004726/0.9145, allocations: 1.084 MB / 1.075 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/0.9168, allocations: 471.2 kB / 1.075 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.9287, allocations: 8.959 MB / 1.084 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.9312, allocations: 315.5 kB / 1.084 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/0.9314, allocations: 63.95 kB / 1.084 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.9315, allocations: 0 / 1.084 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00978/0.9413, allocations: 3.051 MB / 1.087 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.9413, allocations: 12.09 kB / 1.087 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003112/0.9444, allocations: 0.7593 MB / 1.088 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/0.9467, allocations: 487.2 kB / 1.088 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009286/0.956, allocations: 6.935 MB / 1.095 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.9583, allocations: 295.5 kB / 1.096 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/0.9585, allocations: 59.97 kB / 1.096 GB, free: 3.949 MB / 0.8419 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.0007177/0.9593, allocations: 364.8 kB / 1.096 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.9596, allocations: 79.06 kB / 1.096 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/0.9699, allocations: 3.117 MB / 1.099 GB, free: 364 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.9699, allocations: 12 kB / 1.099 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/0.9699, allocations: 4 kB / 1.099 GB, free: 348 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.9699, allocations: 11.97 kB / 1.099 GB, free: 336 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.9825, allocations: 5.035 MB / 1.104 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.9825, allocations: 8 kB / 1.104 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.9842, allocations: 364 kB / 1.104 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004063/0.9883, allocations: 1.002 MB / 1.105 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.9884, allocations: 39.91 kB / 1.105 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/0.999, allocations: 8.669 MB / 1.114 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/0.999, allocations: 12.02 kB / 1.114 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009748/1.009, allocations: 3.254 MB / 1.117 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005952/1.009, allocations: 315.9 kB / 1.117 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/1.01, allocations: 23.98 kB / 1.117 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.012, allocations: 295.5 kB / 1.118 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/1.012, allocations: 95.64 kB / 1.118 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.012, allocations: 39.97 kB / 1.118 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005672/1.013, allocations: 378.8 kB / 1.118 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.01e-07/1.013, allocations: 0 / 1.118 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00204/1.015, allocations: 0.5078 MB / 1.119 GB, free: 11.52 MB / 0.8731 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.0002797/1.015, allocations: 143 kB / 1.119 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01288/1.028, allocations: 4.842 MB / 1.123 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.028, allocations: 4.312 kB / 1.123 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004189/1.032, allocations: 1.744 MB / 1.125 GB, free: 4.637 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.034, allocations: 118.8 kB / 1.125 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/1.045, allocations: 3.657 MB / 1.129 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/1.045, allocations: 1.04 MB / 1.13 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/1.046, allocations: 99.34 kB / 1.13 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of SimCode: time 1.143e-06/1.046, allocations: 0 / 1.13 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of Templates: time 0.03286/1.079, allocations: 25.9 MB / 1.155 GB, free: 5.664 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches