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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009871/0.0009875, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001151/0.001151, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.664/2.664, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003767, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7891/0.7895, allocations: 142.4 MB / 0.9544 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.005491/0.7951, allocations: 4.591 MB / 0.9589 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005765/0.8009, allocations: 3.757 MB / 0.9626 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006228/0.8015, allocations: 11.31 kB / 0.9626 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.8019, allocations: 88.06 kB / 0.9627 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.8033, allocations: 0.5043 MB / 0.9632 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.8044, allocations: 356.1 kB / 0.9635 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.8057, allocations: 1.149 MB / 0.9646 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.8068, allocations: 0.6441 MB / 0.9653 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005827/0.8074, allocations: 346.7 kB / 0.9656 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007832/0.8082, allocations: 471.8 kB / 0.966 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.471e-05/0.8083, allocations: 32 kB / 0.9661 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.8094, allocations: 479 kB / 0.9665 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.8097, allocations: 274.8 kB / 0.9668 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.8099, allocations: 141.7 kB / 0.9669 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.8114, allocations: 0.945 MB / 0.9679 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8114, allocations: 4 kB / 0.9679 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8114, allocations: 0 / 0.9679 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.8114, allocations: 0.8125 kB / 0.9679 GB, free: 13.88 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.002122/0.8135, allocations: 0.9475 MB / 0.9688 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.8136, allocations: 13.34 kB / 0.9688 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00824/0.8218, allocations: 1.612 MB / 0.9704 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.8229, allocations: 0.5445 MB / 0.9709 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.823, allocations: 46.27 kB / 0.9709 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.8232, allocations: 63.77 kB / 0.971 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004491/0.8277, allocations: 1.835 MB / 0.9728 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.8277, allocations: 6.781 kB / 0.9728 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.8278, allocations: 26.92 kB / 0.9728 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002223/0.8281, allocations: 106.9 kB / 0.9729 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006987/0.8351, allocations: 2.476 MB / 0.9754 GB, free: 9.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.008635/0.8437, allocations: 6.361 MB / 0.9816 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.8469, allocations: 1.356 MB / 0.9829 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002267/0.8492, allocations: 0.9026 MB / 0.9838 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002759/0.852, allocations: 2.15 MB / 0.9859 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.8521, allocations: 50.5 kB / 0.9859 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=69): time 2.936e-06/0.8521, allocations: 0 / 0.9859 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=93): time 0.02072/0.8728, allocations: 6.642 MB / 0.9924 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.636e-05/0.8729, allocations: 195.9 kB / 0.9926 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006994/0.8736, allocations: 0.5134 MB / 0.9931 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.8738, allocations: 41.7 kB / 0.9931 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.8741, allocations: 398.6 kB / 0.9935 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003652/0.8745, allocations: 323.4 kB / 0.9938 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.8746, allocations: 24 kB / 0.9938 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.8748, allocations: 378.7 kB / 0.9942 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/0.8773, allocations: 1.005 MB / 0.9952 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00282/0.8801, allocations: 1.287 MB / 0.9964 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.883, allocations: 1.079 MB / 0.9975 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.883, allocations: 4 kB / 0.9975 GB, free: 2.402 MB / 0.7481 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008999/0.892, allocations: 3.322 MB / 1.001 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.000301/0.8923, allocations: 340 kB / 1.001 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.8924, allocations: 8 kB / 1.001 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003996/0.8964, allocations: 1.099 MB / 1.002 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.8982, allocations: 467.2 kB / 1.003 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.9102, allocations: 9.204 MB / 1.012 GB, free: 3.305 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.9122, allocations: 299.6 kB / 1.012 GB, free: 3.012 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/0.9125, allocations: 63.95 kB / 1.012 GB, free: 2.949 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/0.9125, allocations: 0 / 1.012 GB, free: 2.949 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008075/0.9206, allocations: 3.012 MB / 1.015 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.9206, allocations: 12.09 kB / 1.015 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/0.9234, allocations: 0.7592 MB / 1.016 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.9255, allocations: 487.2 kB / 1.016 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008862/0.9343, allocations: 6.935 MB / 1.023 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.9362, allocations: 295.5 kB / 1.023 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.9365, allocations: 63.91 kB / 1.023 GB, free: 6.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005776/0.937, allocations: 360.8 kB / 1.024 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.9373, allocations: 75.05 kB / 1.024 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008585/0.9459, allocations: 3.082 MB / 1.027 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.946, allocations: 12 kB / 1.027 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.946, allocations: 4 kB / 1.027 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.946, allocations: 7.984 kB / 1.027 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.9575, allocations: 5.026 MB / 1.032 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/0.9576, allocations: 4 kB / 1.032 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/0.9591, allocations: 364 kB / 1.032 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003593/0.9627, allocations: 0.9981 MB / 1.033 GB, free: 12.87 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.9629, allocations: 35.92 kB / 1.033 GB, free: 12.83 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.9737, allocations: 8.661 MB / 1.041 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.9738, allocations: 4 kB / 1.041 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008917/0.9827, allocations: 3.25 MB / 1.045 GB, free: 296 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007531/0.9835, allocations: 304.1 kB / 1.045 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.9838, allocations: 23.98 kB / 1.045 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.9855, allocations: 291.5 kB / 1.045 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.9858, allocations: 95.77 kB / 1.045 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.9859, allocations: 47.92 kB / 1.045 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005231/0.9865, allocations: 362.8 kB / 1.046 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9865, allocations: 0 / 1.046 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002498/0.989, allocations: 0.5156 MB / 1.046 GB, free: 14.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003096/0.9893, allocations: 131.8 kB / 1.046 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.002, allocations: 4.963 MB / 1.051 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/1.002, allocations: 0 / 1.051 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003932/1.006, allocations: 1.745 MB / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/1.007, allocations: 118.9 kB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009429/1.016, allocations: 3.516 MB / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008012/1.017, allocations: 1.04 MB / 1.057 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00203/1.019, allocations: 499.4 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/1.02, allocations: 83.36 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of SimCode: time 1.223e-06/1.02, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of Templates: time 0.03359/1.053, allocations: 19.72 MB / 1.077 GB, free: 14.63 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